Controlling gamma level instead of brightness if no monitor supports brightness control or is set by user

Good afternoon,

I have 2 monitors (one going through HDMI → VGA) and I was wondering if adding an option to lower down gamma level instead of brightness, if no monitor supporting brightness control is present or is set by the user to either change brightness level, gamma level or both at the same time, would be possible?