They’re affordable and ubiquitous, but homeowners shouldn’t be able to act as vigilantes.
As long as you are just doing capture and aren’t attempting to do anything where a re-encode of the video stream is needed then absolutely. You’ll need something other than a microSD card though to write the video too.