Melatonin an hour before bedtime helped me to fall asleep, but only after the first couple of sober days. Those first few mornings I felt as though I had slept for no more than 30 minutes at a time. I settled in pretty quickly, and after two weeks or so I was sleeping soundly until I woke up, nice and bright and early, not achy, fuzzy and late.
I also had a committee in my head that wanted to hold their convention just when I needed to relax the most. Boy did they make a racket! It took a while, but I learned how to get that under control, and I bet you can do it too. Try looking at
this. It helped me a lot and it still does.