Yep! As long as each PC is setup with all the necessary drivers and such its all plug and play. No issues with just ripping the cable out of my MacBook without "undocking" anything. It just reverts to the internal display without issues.
I kind of wish there were manual/dumb TB3 switches for this sort of thing but I have not seen any.