It is generally worth making your dev environment easy enough to set up that installing it in a VM is not a particular hassle, even without the concerns about sandboxing. For me the biggest headache was windows licensing.
Windows Sandbox would work pretty well otherwise (And also solves the licensing issue).