@c0debabe Have you tried: Put the actual bookmarks in Nextcloud, replace the original location with a link to that.
I've used this techniique successfully for other things-that-want-to-be-in-specific-places.
(#softwareGripe: why can't Nextcloud include arbitrary files/folders from outside its main repository?)
@woozle @c0debabe When you have Nextcloud bookmarks installed, you can use Floccus to sync your bookmarks to that: https://addons.mozilla.org/en-US/firefox/addon/floccus/
It works reasonably well, but takes a long time when you have a lot of bookmarks.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!