Maybe when I'm older with less to lose I'll experiment more and see if things like that work.
The immediate effect is quite interesting: routine tasks become less-accessible while imagination becomes more-accessible, so you think more about what you're doing, which often spawns new ideas (e.g. the desire to exercise or play an instrument, understanding both as a cyclical muscle control problem.) Afterward, the transition to sleep feels trivial.
Large doses are generally not beneficial.
For anyone with circadian issues, the Circadian Sleep Disorders Network is a patient advocacy group that has some helpful info:
https://www.circadiansleepdisorders.org
There is also an independent mailing list mentioned on that site for people with circadian disorders. I'm not sure what similar resouces are available for just insomnia.
Edit: Oh, there is also "Cognitive Behavioral Therapy for Insomnia", which is a structured approach to "sleep hygiene".
Edit2: My overall impression with insomnia is that things like racing thoughts or caffine keeping you awake can be treated but if you deal with all of that stuff and still can't sleep, there is no treatment (and often circadian issues are involved).