Really small pan/tilt/(roll) direct drive camera gimbals

Are there any really small pan/tilt/(roll) direct drive camera gimbals out there with absolute angular position encoding? Size enough to fit a DJI O3 FPV camera. I’m not talking about the stuff made using R/C servos.

Also, are there any resouces where I might find the transform to world coordinates (rays) from screen coordinates (or at least what is possible without a z depth value) for a given lens?