I dont think I get anxious when I am awake- ie., i dont feel any of the symptoms below when i am awake but when i am trying to sleep or after a couple of hours of sleep, its pure hell. i am able to sleep a little better on tradozone but i missed a dose tonight because the pharmacy to pickup was closed and i woke up after 3 hours of sleep.

Every night as I start to drift I get what I can  describe as a sudden feeling of alertness and racing heart, but i since i am not done sleeping, i feel sleepy almost immediately, but as I start to drift off again the feeling of alertness returns and this becomes more and more till i give up trying to sleep.

 Is this panic or anxiety ? I am not prone to feeling anxious or panic or overthinking things, is it possible for anxiety to manifest only while sleeping. 

this is pure hell., being unable to sleep.