One example for Defold helped me with this. https://github.com/britzl/lowrezadventure
Here, a 64x64 view is set up that can stretch freely while maintaining pixel-perfect movement. In a nutshell, this is achieved by projecting only the 64x64 area from the game and then rendering it on a larger viewport. By looking at the implementation of render pipeline, it may be possible to do something similar in other game engines or find similar ready-made examples.