The simplest option seems to have 2 separate devices: either 2 PCs, or one Apple Mac and one PC, then use one device for your personal Publii projects and use the other device for your work Publii projects.
Alternatively, if you have an Apple Mac computer with an instance of Microsoft Windows also installed on the same device, perhaps you could then have 2 instances of Publii operational: one on your macOS and the other when you switch to Microsoft Windows.
Or, you might be able to do the same but in reverse: install an instance of macOS on a Microsoft Windows PC.
Other than those 3 options, I’m not sure how else you could do it (safely).