Welcome to the forum!
Lots of people will tell you it's a no-no, but it's really up to you. You'll have more algae, and you'll have greater temperature swings in the tank from day to night, but sometimes I like the way sunlight tanks look! And you could do some awesome things with growing plants both in the tank and emerging from the tank. Could be very awesome!