Over the centuries many people have said some variation of "The total number of minds in the Universe is one" (Schroedinger). If you view enlightenment as aiming to get back to that fundamental, underlying consciousness, surely you'd be outside the simulation at that point.
Hallucinogens may offer a faster, temporary experience of that state for some people (or at least a hint that there's more than just this material world, a bleeding through to the outside of the 'simulation')