Replace existing pir sensor with camera

Has anyone managed to switch an existing pir sensor on a wired alarm for a Ring camera?
Basically I’m wondering if me existing wire on the pir can be used to power a camera?