One of the biggest gripes with Windows 11 is that the taskbar remains on the bottom, compared to previous versions where you could position it somewhere else on the screen. However, it is possible to change the screen position of the taskbar with a registry hack, or use a third party tool such as Explorer Patcher.
Windows 11 registry hack
You need to edit a binary value in the Windows registry, the picture above shows the exact location you need to change the number.
3 implies bottom, with 1 being top, 2 being right and 0 being left.
Explorer Patcher
Download Explorer Patcher from here and then you can do more than just fix the location of your taskbar.