Ofcourse there is, that's what Freud found out some time ago
I had an cool (non lucid, didn't work) dream yesterday, but woke up in the middle of it, and despite all efforts to finish it, I got up and forgot the whole thing
Man, I wish there were Dream-VCRs or something like that
But congrats on the Doctor's OK