It is generally okay to leave the oven light on while baking. The oven light is designed to provide visibility inside the oven, allowing you to monitor the progress of your food without opening the oven door and disrupting the temperature.
Leaving the oven light on during baking should not affect the cooking process or the outcome of your dish. The light bulb used in the oven is specifically designed to withstand the heat generated during baking and is typically separate from the heating elements.
However, it's important to note that some ovens have a feature that automatically turns off the oven light after a certain period of time to prevent excessive heat buildup. Refer to your oven's manual or guidelines to understand if there are any specific recommendations regarding leaving the light on for extended periods.
If you're concerned about energy consumption, you can choose to turn off the oven light once you have checked on your food or when it's not necessary. Just make sure to be cautious when opening the oven door to avoid sudden temperature changes, which can affect the baking process.