it's 4am and I can't sleep

An
So it's 4:10 am and I've been up since 3:30. I woke up to (yet again) horrible leg pain. Walked around a bit which helped but then I got hungry, so I went to make hot cocoa and now I'm not tired...😩 anyone else like me out there? This has been happening every night since I hit 30 weeks (the leg pain and insomnia). The worst part is that when I do finally fall asleep, it'll be time to wake up and go to work