Research suggests we dream more lucidly after we’ve immersed themselves in virtual worlds