i think it would be technically possible, although with videos a tiny change in pixels at 1000x zoom causes the whole screen to flash different sub-videos rapidly. an infinite photo zooming effect would remain more consistent
existing solutions for my specific use case were limited, i intentionally wanted something barebones so that I could hack at the raw surfaces / display buffers to cut corners for performance. one part learning experience, one part stubbornness.
WebXR sounds like a different beast entirely. do you have to write your own rendering backend in WebGL for that?