aiaf Tinkered a lot with this at some point. Doesn't work on the internal display unfortunately, but I'm sure there are things to be found here. Plist Edit Pro can be searched for different config stuff that might be relevant. Some settings are outright ignored, and some are set by the os on the initial negotiation / best guess routine by the os based on the EDID. The stored plist stuff are connected to the exact setup of connected monitors and what ports they use. So in theory changing EDID can end up with the same config as before changing it, and switching display to another usb-c can result in a slightly different image.
https://www.fatcatsoftware.com/plisteditpro/
Another thing that could be interesting is custom color profiles. There is little or no editors with straightforward ways of manually creating color profiles for experimentation. BetterDisplay and Gamma Control can do some of the same, but not nearly as advanced as what color profiles can.