This is something to be done within switchres library but I do not have the knowledge to do it yet.
I am planning to make a small console tool on Windows (no GUI) to download an EDID using the serial port, or perform a restart of the graphics adapter easily so that it can be scriptable.
On the hardware side, a more generic solution to restart the GPU whatever the OS would be is to add an analog switch IC to open/close the RGB+DDC signals, faking a unplug/plug event for the hardware. That cost a few €, and also make the mcu to loose 1 IO pin again, leaving only 3 IOs as spare keyboard inputs.