I'm no psychologist, but isn't this simply a manifestation of the subconscious mind?
I've always considered conversations with dream characters as convdersations with my
sub-conscious. Sometimes they offer very profound insites. This too is not surprising if you
believe that humans never really forget anything, and that your subconscious has access to
the totality of information that you've accumulated over the years.