Can I use a sync service other than iCloud?

No. If you want to get your text into another place, you can use Sharing to move text around. On macOS, there is an option to create a backup in the File menu: this will put all your data into JSON file that's easy to parse.