I hit a period where I could not get to sleep because of everything on my plate. My mind would just spin. I tried Melatonin and it helped a lot. It didn’t just make me sleepy, it took my anxiety away. I took 3 mg whenever I was just staring at the ceiling. Life changer and got me through that time. I still take it occasionally if I am not at all sleepy around 11 pm.
The herb Valerian can help reduce anxiety. I sometimes can’t sleep worrying about all I need to do, and Valerian helps with that. Sometimes I am just keyed up from an active day and melatonin helps with that. I seem to recall reading something about Vitamin B6 and vivid dreams. I don’t remember if it was too much or not enough.