Actually, dreams can be psychotic. Psychosis just means not being in touch with reality. Psychosis in a dream is perfectly normal, a consequence of the brain reorganising memory. An interesting point is that everyone is regularly psychotic, as everyone dreams. Psychosis as a diagnosis is only when you appear to be awake but have such thoughts. Psychiatrists should not be diagnosing people based on their dreams.