How would you even know if it was a dream? Well basically all sleep paralysis is a kind of dream, because you often hallucinate in SP, and that's the basic definition of a dream, night time hallucinations.