Unfortunately, no. However, there are alternatives to sync. I love Logseq, but dislike the lack of a sync server. I have not not tried either of the following methods as I just recently switched to iOS and just used Syncthing on my Pixel. The guide on ish also has a comment on encryption if you scroll enough.