I distinctly remember using Microsoft Keyboard Layout Creator way back to replicate Mac way of entering some typographically correct punctuation on top of Polish layout. You could make your own custom layout as well.

However, when I still used Windows 11, I remember there being a variant of US keyboard layout built into the system that included Mac-like way of entering international diacritics. I no longer have access to a machine with Windows, but a quick Google search suggests United States – International might be what you're looking for.