An international team of researchers including Antti Revonsuo and Katja Valli have published a chapter entitled “The Avatars in the Machine: Dreaming as a Simulation of Social Reality” as part of the open-source Open MIND project. Following the chapter, there is also a commentary piece, and a subsequent response from the original authors.
Briefly, the chapter explores the idea of dreaming as a simulation of social reality, by both outlining the contours of such a view and investigating its empirical support and predictions.