According to a developer already familiar with Google’s recently released Android 13 developer preview, Google may give you more granular control over your LED flash on the back of the phone. There are two APIs associated with the new feature – one gives information about the brightness of the LED flash and the other one controls the actual brightness.
Of course, it will be up to OEMs to tap on those APIs and let you control the brightness from 1 to as high as the hardware allows. Notably, not every phone will support the said feature, probably due to hardware limitations.
For now, some Samsung handsets allow you to dim the LED flash as well as iPhones.
Source