As of right now (I don’t know whether the post above is in effect or not), you can still update from Windows 10 to Windows 11 while keeping your local account (as long as you do not do a fresh install I suppose).
But that’s assuming you’re already on a local account. That’s what I did and it worked. It was maybe 6 months ago ?