If your puppy is trained it's ok for her to sleep with you. Five months is
still young so be patient. I remeber going through the same thing with
Buddy. He would jump on me in the middle of the night to play. I would
push him down and tell him NO! He finally go the message. To stay in
bed longer in the am I always had a chew bone in the dresser drawer close
to the bed. I would give it to him (when it got light out) and he would chew
and I would go back to sleep for a little while.
Hang in there, it will get better. Puppies are hyper all the time.
They don't care if it's dark out