Just wondering if anyones sleep is affected by anxiety.

I have weird things happen to me in my sleep - i have very vivid dreams and also sometimes i wake during the night and i will still be very sleepy but for a split second i see weird things..
Like a strange shaped object, or stange lines on the walls.. I mange to fully wake myself up and then they disappear.
Sometimes when im waking up / falling asleep i hear strange sounds too, i have also been experiencing sleep paralysis.

I saw a neurologist about this and he said there were Hypnagogig halluciantions (when falling asleep) and hypnopompic hallucinations (when waking up)
He said that they can be much more frequent when you are anxious or stressed.
does anyone else experiece this or is it just me?

x