Basically possible
- See Can you control a pan/tilt setup with Klipper? for internal camera commands
- See Configuration reference - Klipper documentation for how to setup a servo
- Mount the camera on a servo
- Configure it in Klipper
- Turn the servo with the
SET_SERVO
command