It's OK. I was trying to think what I would say spontaneously. Perhaps I would say sometimes "I can see the moon in the window." If I could only see the moon through the window while very close to the window, I would say : "I can see the moon from the window".
For some reason, it feels more natural to say "I can see" rather than "I see". You might say "I see" in response to the question : "What do you see when you look out of your window?"