My front door is not a 'public area', not really
Because of this, it's legal for someone to point a camera right inside your window or front door. It's also illegal (public indecency) for you to be naked in your own window or open door.
That's legal in Canada, or at least the police won't arrest you if you do it in your apartment across from a school.