Hi and welcome @Kaykay
Insomnia's the pits! No doubt about that. Wild dreams are too; please know I understand exactly what you're talking about ok. It can be a terrible side effect of depressive and anxiety disorders.
The thing to realise is, that our dreams are a direct link to our subconscious [which communicates in pictures]. When invisible fears or worry lay beneath our stoic persona's, it comes out in our dreams to alert us to their existence.
This can be quite scary because the power of those fears are experienced in movie-like scenes that seem so real. Getting caught up in the emotional responses upon waking causes even more confusion because feelings seem larger than life.
It's important to remember that what you're seeing is 'information', not reality. When we 'feel' so deeply at these times, the emotional brain interprets this as being real. It's sort of a chicken and the egg situation.
Engaging the rational side of your brain while breathing slowly and deeply will help to calm things. Try telling yourself "It's ok; there's something I need to admit to myself or bring to the surface. I'll put this in my pocket for later". Write down the dream as if it's just a story. This helps your brain calm as well.
It's so easy to become engulfed in the emotion of it all, but with practice, you can use disturbing dreams to unravel the past, underlying issues of concern or something you're not aware of that might seem too scary to confront in your daily life.
Recovering from anxiety etc is a process. If you've decided to do whatever it takes to heal and move forward, your subconscious will help you by bringing up issues that need putting to rest so you can move onto the next phase of recovery.
Please don't be afraid of your dreams. They're the harbingers of information to help you understand yourself better.
I had a dream many years ago about sleeping next to my young son as if he was my partner. It was so disturbing I woke in tears and full of shame. The underlying factor was though, that I was a single mum with no support from my ex-husband and relied heavily on my son for company, conversation and even problem solving. It took me a long while to understand this, but when I did I changed the way I related with him; taking the pressure off both of us.
So please don't worry ok. Taking emotion out of the equation is the best thing to do so that information can do its job.
I'll hang around a bit to see if you write back and we can talk if you like.
Kind thoughts;
Hope x
👵