Yes, it is possible to disable and enable an HDMI port on an Nvidia 2080. You can use the nvidia-settings
command-line tool to configure your graphics card settings, including disabling and enabling HDMI ports.
To disable the HDMI port, use the following command:
nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
To enable the HDMI port, use the following command:
nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = Off }"