YES, you can have both Microsoft and Local Accounts on your Windows 11 and Windows 10 devices. Follow the steps listed in this post to create a Windows 11 local account.