Sorry to read about your sleep problems.
I've been having serious sleep difficulties for the past few years. Next to sleep problems I had headaches at night/morning, loss of energy, pain in joints, memory loss etc. It all started in a small way but became worse over the years, to the point where the pain was almost unbearable and sleeping close to impossible. I saw countless doctors, neurologists etc., but none of them could help me.
It turned out I have a neck problem (even though I never felt any pain in my neck). It took me forever to find the reason for this all, but some small joint in my upper neck was dislocated, causing me all these problems at night (and also during day time). A so called NUCCA-practitioner (like a specialised chiropractor) quickly and painlessly helped me out, I can really recommend it.
If you are interested just Google/Youtube the word NUCCA and you'll find a lot of information. Maybe it puts on you on a medical track that can be hard to find, but very rewarding. Hope this helps you, best of luck!