When you think about it, this is potentially a very clever way to get around not having the ability to mount your camera outdoors. The only problem with this, however, is that cameras do not work well when there is an obvious obstruction in the way. Considering you would be attempting to aim the camera through a window, the results would be less than desired; let’s just say that.
Instead of focusing on the events that are proceeding to happen outdoors, the camera will more focus on the imperfections of your window. The video footage may not be clear enough to see what is truly happening so even though it is a clever thought, it may not turn out how you imagine it in your mind.