Cool!
I just tried this out:
echo "{\"settings\":{\"secondaryPort\":$((1024 + $RANDOM % 64510))}}" | sudo tee "/var/lib/zerotier-one/local.conf"
You could put something similar in a timer maybe, or just run it when you need to.
This will all by fixed by zerotier itself someday