It should be possible to use syncthing to achieve sync across multiple devices, without having a third-party server - even if untrusted, right?
The main difficulty with sync is conflict resolution and none of Syncthing's solutions work well for the things that Firefox syncs.