Yes, it can. You can choose the Upload button on the OneDrive website > Folder. On the pop-up Finder window, select Desktop from the sidebar and then choose all the folders and click Upload. Next, re-click Upload > Files and then upload all files on the desktop to sync them.