Make adaptive brightness follow percieved light from back camera

I’m often surprised about how bright the display is, even in a dark environment.
Especially when there is a light source above/behind me.

The strength of the surrounding light cannot be properly determined by looking into the light source.
The light source can be percieved as strong by the phone, even if it doesn’t enlighten strongly.

My question is:
Shouldn’t the display brightness be determined by the luminosity located behind the phone i.e. around the phone in the visual field?

My demand is:
How could I get a measurement from the light with the back camera?