You can gut it and replace with a Raspberry Pi camera!
https://github.com/maxbbraun/pisight
https://www.printables.com/model/418381-webcam-project-using...