Brightness in photos is arbitrary, and has nothing to do with how bright the scene actually is. Instead, it is a matter of processing.
Sure, you need to figure out how to make the light appear to be coming from sunlight through a window, but a flash can simulate this. Adjusting the white balance to make the light appear yellowish is easy as well.