I've thought that for a while now and there's high chance that it is a kind of sci-fi plot where people try to sync up the dreams and enter her consciousness to help her. random people appearing might be just a sign of changing consciousness state, so they might be losing control over her dream before accomplishing the task.To me, it seems like the "she's in a coma and is trying to wake up"