Unfortunately the insomnia issue is multi-faceted and complex. Having struggled with sleep issues myself and having gotten on the other side of it mostly, I can offer the following insights:
1. Insomnia and/or the inability to stay asleep or sleep in general is very often a reaction to environmental toxins such as mold or chemicals. Since google doesn’t really find stuff anymore, here’s a link to a blog I trust on the subject.
http://biotoxinjourney.com/areyoumoldy/ Just because you can’t “see” mold or “smell” mold doesn’t mean it isn’t present in your environment. It is very often behind the walls.
2. Mold and chemicals such as flame retardants (in most mattresses and couches) causes your brain to kind of “catch on fire” so to speak. It becomes super agitated and can’t rest. This is measurable in the body through lab tests and the VCS test mentioned in the above link.
3. If the issue was kind of a sudden onset, this is a telltale sign that something in your environment changed. Did you move? Get a new piece of furniture like a couch or bed, etc.?
4. I now am able to sleep after years of trouble shooting this, getting out of mold, getting a petrochemical-free mattress, stopping the use of all artificial and toxic scents (perfumes, scented laundry detergents, household cleaning products, candles, etc).
5. If all environmental factors can be ruled out, then this book may help. Many times psychological and brain disorders are caused by gut issues. This book and others by this author have been tremendously helpful for me.
https://www.chelseagreen.com/product/gut-and-psychology-syndrome/
6. I only use melatonin and sometimes ashwaganda now.
I wish for everyone who struggles with this that they can find the answer to this problem. So often we think it’s our body’s fault, but actually it’s an external fault and our body is trying to protect us from it.