You can do this in Windows 11 if you install ExplorerPatcher. Of course, you may be nervous of installing something that actually goes in an modifies explorer.exe. Since I just can't stand the centred taskbar in Windows 11, I have no choice. I recall that I have run into a case where Explorer did not start after a Windows update, and it was a bit of a panic until I was able to uninstall and re-install Explorerpatcher.
Once you have installed ExplorerPatcher, you will get a Start-menu item for ExplorerPatcher. Select it, and you will find the option for the taskbar location.