Yes but the camera should be in a place that can’t be physically tampered with easily since someone could theoretically unplug the camera and plug into your home network and see all your computers or other devices as if they had stolen your WiFi password. A small risk but it’s better to hardwire it somewhere they would need a ladder to get to or get a camera system that connects to a central box inside the house.
A term used derogatorily towards sympathisers of authoritarian communist regimes stemming from “send in the tanks” in 1956.
https://www.urbandictionary.com/define.php?term=tankie
https://en.wikipedia.org/wiki/Tankie