You may be able to get away with putting a camera in front of a window as long as you can disable the IR lights. This does mean you would be reliant on external lighting (street lights, floodlight etc). Picture quality would also be reduced depending on the distance the camera lens is from the window, so that is another factor to consider.