Sure you can. But why would you not use a Microsoft ID. That’s where a lot of the great features come in.
Because when I set a computer up, I typically start by making an “admin” account with none of those types of IDs. Then I make individual user accounts with limited privileges so I’m never actually logged in as “admin” for routine use. (And even then, I can do most admin tasks with a regular account by providing the admin credentials.)
Frankly, I recommend this for anyone on any OS - always run your everyday account with the minimum privileges you need and use some sort of admin account to deal with privilege escalation when needed.