My own sleepwalking experience:
I once woke up outside, nude, and locked out of the house.
Then I woke up again. I had dreamt the whole incident.
Then I went back to sleep and the same thing happened again. And again. I'm not sure whether I had essentially the same dream repeatedly or it was all one dream.