For me, dreams states are intensely real such that I cannot separate it from reality. Now, as an adult, I have learnt to separate these two disparate states. I am not psychotic, of course, and doubtfully you are (although I don't know you, but you know what I mean). AS is the antithesis of psychosis in that we are hyper-real. Ironically, this may be why nightmares are so hard to cope with, precisely because they are perceptually real as they are occurring!
So, I do understand.....sorry for your predicament. Incidentally, quite a many Aspies take melatonin for sleep - it is helpful and without the effects of typical sleep preparations. But we warned that melatonin induces sleep by stimulating cerebellar release of the transmitter GABA. This translates into potential problems with sleepwalking (if you are prone). From my experience, melatonin can make the perceptual distinction between dream and awake harder to discern.
_________________
The ones who say “You can’t” and “You won’t” are probably the ones scared that you will. - Unknown