Though if you want to get rid of the persistent nag on your Dock to log in to your Apple account, that's a significantly higher level of magic than what it takes to use Windows without an MS account.

(I just installed Windows a week ago without an MS account, and it was a 30 second step during setup to skip an MS account. The steps to get rid of the macOS nag are daunting enough that I just live with it permanently.)