It's plenty doable, but as stated before, you're gonna need to do a few tricks with the tiling in your map (to make it appear as though you're about to walk into the same area) before resetting your X or Y to the correct location...
In frame 1, he's walking...
Frame 2, he's coming upon a tree (loop landmark)
Frame 3, he's passed the loop landmark and unknowingly stepped on a trigger!
Frame 4, he's in a location identical to frame 3, but its actually where he started, thanks to the seamless tiling!!!