Dreams are the natural expression of the human brain, and are usually the reflection of our daily life and experience. In my dream, people say that I am a bodhisattva, perhaps because I have heard or seen some information about bodhisattva recently, which is related to myself, so I have such an illusion in my dream.
In short, this statement has no scientific basis. We should believe in science, not superstition.