I had. Normally my bad dreams (before pregnant) was of the world ending or natural catastrophic events out of my control. Once pregnant my dreams changed, and all of a sudden I was having mission impossible like dreams: still tense, yet more capable of being controlled by my own decision making in the dream. I had two theories from these two different patterns of dreaming. On one hand I feel like the change was a positive because now I felt more in control. And I think I had more control because my mind was adapting to the fact that I needed to survive in order for my baby to survive. In my mission impossible dreams I thought my way out of danger, and even though my baby wasn't in the dreams nor was I pregnant within my dreamz, I needed to make sure I was safe in order to protect my baby. I feel the change in the nature of my dreams reflected a change in the woman and instincts I was developing as a natural effect of becoming a care taker or a mom. I couldn't afford to be weak or helpless any more as my natural catastrophe dreams rendered me. Making me feel ad though I had no control over the influences of any negative events I encountered. This was earlier in my pregnancy. Now at 34 weeks I still have bad dreams, and some consist of me not being able to be there for my baby... I'm very cautious of what's going on in my environment because of these fears. But I think it's that motherly instant developing, that we all hear about but probably truly don't understand. But if these dreams aren't preparation for becomes an attuned and attentive mother, idk what is.
Try making the bed a little cooler. I always get nightmares when my body gets too hot.
I've heard not to drink dairy or eat any dairy 1 hour before bed... I just stopped drinking milk before bed maybe a month ago and haven't had the nightmares since...but everyone is different. Trial an error when it comes to the bad dreams...
Warm glass of milk right before bed always helped me with that, expecially with ground nutmeg mixed in. That should help.