As long as the temperature doesn't raise too high, it shouldn't be a problem. They won't gain any UV rays through the glass though. My girls tank gets the late afternoon sun, so the heat concentration is not so high. I would definitely monitor it if you do.