It’s been a few years since I last checked, but AFAIK the only way to get an IP surveillance camera that isn’t proprietary, tied to some “cloud” provider, or that has sketchy firmware that phones home to China, is to literally build it yourself using a Raspberry Pi or something.
You’ll still have to firewall it away from everything to stop the firmware from phoning home, though.