It should be possible to develop a URCAP to do that.Some companies did it:https://www.zacobria.com/robot_photo_video.htmlhttps://www.universal-robots.cn/en/plus/urplus-components/accessories/joystick-application/