Yes, you can use pass from self to myotherbox.mydomain.com, but -
Your rules will then be valid only after you have name resolution up and running
Possible workaround: Put those IP address/hostname pairs in /etc/hosts, or load default rule set, run commands or script from rc.local to check DNS, then load real rule set