Microsoft 365 does not have a taskbar. Word has a status bar at the bottom of its window, but I suspect you are talking about the Windows 11 taskbar.
You cannot move it to the top or along either side. It is always on the bottom of the screen unless you hide it. If you hide it, you do not see it unless you move your mouse pointer to the bottom of the screen.
Here is a link to some of the feedback about the Windows 11 taskbar. Feel free to vote and comment and post your own. The developers of Windows who can fix that will see nothing you post here but will see feedback on that portal.
https://feedbackportal.microsoft.com/feedback/search/?q=taskbar