Wanted a higher framerate camera for my P1S so I designed a mount for a Pi 3A+ I had lying around and a cheap Pi Camera.
I printed in PETG as I worried PLA might soften if printing with the door closed.
I fed the Camera ribbon cable behind the cross bar the camera and Pi are mounted on.
For the Pi power supply I stripped the outside of a USB cable off so the wire fits within the small gap that goes up to the top on the top right of the printer - it is really tight there, without doing that the cable would interfere with print head in its most forward and right position.
This was pretty roughly knocked together using Tinkercad so I am sure it could easily be improved!
I used this camera with my Pi 3A+ https://www.aliexpress.com/item/1005005715432290.html
Its all quite a tight fit with the printhead, though works well for me, so proceed at your own risk.