In sword and shield, there was a glitch where you could stand by a Berry tree and get inside a rock by time traveling and battling, as well as the bike being able to “fly” and go into forbidden places. But does the glitch still work?
No It was patched. I can't remember what update it was patched in, (although we've only had three updates,) but you can't do it anymore
Source: Experience