Interesting. What if that is actually a beneficial part of our own development: comparing the nonsense in our dreams to waking life and building the ability to tell the difference?
Get an LLM to dream, and to use the time effectively to purge those hallucinations, and reinforce the "valid and true" memories, and you might have something there ?