S.K.
I am a co-sleeper and do not look at it as a bad habit. But my suggestion to you would be to get her a bed that is big enough for you to lay in. Work on laying with her in her own bed until she falls asleep, or at least until she unwinds. Start a routine with her right before bed. Brush teeth, brush hair, change into jammies, ect. Then go in bed with her and read her a book or two before you leave. This might help give her the attention she is looking for before bed and save you the WWII. Be consitant and make sure to keep your bed completely out of the equation. If she wakes at night, go to her an deal with her in her bed, do not bring her to your bed. Once you can get her in her bed, you can then work on keeping her from waking up at night. Work on one thing at a time, though.