Have you ever been evaluated by a psychiatrist? I used to have issues with insomnia and it turns out I’m neurodivergent (bi-polar). I was seeking sleeping pills and ended up entering treatment before I reached the point where it gets really messy (late 20s-early 30s). It’s manageable in part via a very rigid sleep-routine that only deviates if I go out with friends or go to a show / concert. And sleeping pills, but nothing like what I used to need to knock me out.