I created camera mount for my aliexpress camera IMX291 (is that its name? https://www.aliexpress.com/item/1005003027318982.html).
The concept can be easily adapted to any other camera by creating new mount that links with the ball-joint assy by M3 screw.
BOM: Camera, 2x M3x12 screw, 2x M3 nut and washer and 1x M6 mounting Bolt and extrusion nut.
Files include:
3mf file with supports and positioning
STL, STEP with 2020 and 3030 version
Printed with ASA. PETG will work as well, PLA might be unsuitable due to its brittleness.