You can link SharePoint libraries to OneDrive using "Add shortcut to OneDrive"
However, they are usually not visible via the Graph API or in tools like rclone.
The only way we could obtain their IDs was by creating the links via the Graph API. We then worked around this in two applications by storing the IDs in the database ourselves so we could access them when needed again.
Really frustrated because I couldn’t find anything in the documentation and because various tools, such as rclone, don’t display shortcuts, I searched again... finally, I came across the GitHub issue “Cannot show shortcut from SharePoint Online to my OneDrive.”
#5428, where a comment pointed to a workaround:
You should add the following header: Prefer: Include-Feature=AddToOneDrive
When testing with rclone mount, where I added --header 'Prefer: Include-Feature=AddToOneDrive' , everything finally worked as expected!