You can't do exactly that, but you can do something very similar. In your .bashrc add this line:
export myshortcode='-p root@example.com'
Now you execute the command loke this:
ssh $myshortcode
Or you add an alias like
alias ssh_port='ssh -p root@example.com'