Sex dream of your SO

So I had a dream last night that me and my significant other were having sex and I swear it felt like I had an orgasm in my sleep. O.o it made me feel strange for some reason. Has this ever happened to you?