There are such KVM (keyboard video mouse) devices that can do that. But they are expensive.
Alternatively there are Mobos with BMC (Baseboard Management Controller) from Supermicro for example.
They all communicate via IPMI
Google all of these keywords - and you'll find what's best in your case
Thank you for your advice.
This should work regardless of what I am mining right? Ranging from BTC to XMR.