That wouldn’t work very well because pretty much every webcam has auto exposure adjustment. Also a camera is good at determining how much light is in the room behind you, not how much light is hitting the screen. There really is no substitute for a photodiode and a halfway decent control algorithm. It only costs a penny so there really is no excuse not to include one.