VMware workstation works great. Just install Windows or linux on the box, workstation, and fire up all the VMs you could dream of, while using the PC as a normal PC.
But just know that any time you need to reboot your PC PC you need to reboot your server, which sucks. It’s much better to just keep the old office PC. That old i5 uses so little power at idle vs a modern CPU being perpetually kept awake.