Animate a 2D pan/zoom camera

Hi to all, i don’t know if this is the correct subforum but as the title says there’s a way to animate a 2d pan/zoom camera like in maya?

So i can obtain a “slide” of the viewport in a 2d drawing style instead of having a 3d movement with all the camera perspective.

An example:

Thank you!