I have noticed that for me, when I have a nightmare I usually become lucid. Even before I knew about lucid dreaming I became slightly aware I was dreaming. I was never able to fly or anything at the time but still. It seems like as the anxiety builds up the more aware I get. Does this happen to anyone else?

I just had a lucid nightmare this morning where I was going into some dark house with bags of fish all around and eventually ghosts, which caused me to become aware