I think you are doing that, just to be complicated. GPUs scale down in power when not using them in games.
Secondly, AMD has CPUs w/graphics (Ryzen). Given the level of power needed for your gaming, you might not even need to use your 5 year old R9.
8700k/R9 -> Ryzen APU sounds like a pretty dumb idea TBH.
Windows has built-in support to pick GPU per application. I think AMD and NVIDIA drivers have it too
Certain Vulkan games (DOOM, Wolfenstein II) used to default to Integrated GPU, with no way to change this short of disabling Integrated. This has been fixed in the latest WII patch.