Hello,
External ports (HDMI / USB-C / DisplayPort) are physically wired to either the integrated GPU or the dedicated GPU, depending on the laptop’s design. That means you cannot reassign a specific monitor to a different GPU unless the port is hardware-connected that way.