Yes, I vaguely remember the time during college when I was having a dream about failing an exam and I was feeling so depressed and in utter despair, wandering around campus not knowing what to do next, and then I woke up and was still feeling depressed about that for a while, until it suddenly occurred to me that it was only a dream. That never really happened. I was only having a nightmare.