Yes... this is possible... but you need to "weave" your image manipulator into zencart's own systems for rendering product images (and additional product images).

In the free add-ons, you will find a few product image managers, and if you go get some of these, you can open them up to look at how their code integrates their behaviour into zencart's.