The other home security camera companies already make cameras in a doorbell form factor.
Point is to do what you want with the hardware you supposedly "own".