you can use a phone as a webcam:
https://play.google.com/store/apps/d...hl=en_AU&gl=US
(I think that's the one)
But it probably (definitely) wont have good enough dark pic.
I'm currently using a wyze 3 reflashed to RTSP stream. You have to change any settings with the phone app but after you set up rtsp you can stream in a window on the pc with VLC or the like.
It has great general low light performance considering the price ($70), nautical dark or full moon is like broad daylight, but with no light it is poor. By no light I mean no moon or other incidental. In pitch dark the operational LEDs on the mount/hub/dew heater/etc are enough to get a mediocre pic.
It has good IR to about 10m in two wavelengths.