You can in the United States. In Switzerland and some other European countries you can not and you need to post signage anywhere you have cameras on your private property.
I am currently installing cameras and it's difficult because I can't mount it on the house facing out.