We all try to buy lights to simulate sun light or as close to as possible yet we seem to be afraid to put our tanks were they will get direct sun light. Its kind of like an oxymoron.
I've seen a tank on line that was situated in the owners sun room with 360deg. windows including the roof. So in my opinion I would say that it would be ok. The only thing that would be a problem would be the temp. fluctuations if it is not dual pain glass.