It's incidentally one of the explanations for the Fermi paradox.

"Alien species may isolate themselves in virtual worlds"

https://en.wikipedia.org/wiki/Fermi_paradox#Hypothetical_exp...