Automate camera translation (zoom into volume) into a sequence

Is there a way to vectorize the zoom in/out of the camera. i.e. camera starts at position (1,0,0) and then zooms into position (5,0,0). Looking to create an automated sequence that starts with the volume zoomed out and then zoom in without manually moving the camera using the scroll wheel or up/down arrows.

You can easily set the position of the camera (as well as other camera parameters) via python code. You may find this thread informative: How to define camera perspective of 3D view window