Do the people in our dreams have a sense of self?

The question may sound completely absurd at first, but let's think about it for a moment. We as persons who feel we exist and are conscious are ultimately just a superficial function of our incredibly complex brain. At the same time, everything we experience as the "outside world" actually takes place only in our heads….