My neighbour, directly across the street from me, has a security light over her garage door that has it's sensor pointing towards my front door (which has frosted glass in it). Whenever I move inside my front door, that security light turns on!
So, if a beam can 'see through' frosted glass on the opposite side of a street, I reckon that there's a reasonably good chance that one could similarly penetrate plain glass that's a lot nearer to it.
This link examines your question in more detail though:
https://reolink.com/security-cameras-through-behind-window-glass/