Amazing sleep problems

Against the background of my chronic fatigue, it is difficult for me to fall asleep. I can stay in bed until 2-3 o'clock at night in a borderline state between sleep and wakefulness if I don't drink melatonin. Very unpleasant.

I have dreams at night, more often negative and intense. There may be twitching on the body.

I can wake up at 6 or 7 o'clock in the morning and never fall asleep again. It can be incredibly hard when you feel like you haven't had enough sleep. And so it is every day, with different variations.

Any Tips? People with similar experiences, please write how you live it.