Absolutely, the paladin is still a paladin. Otherwise, you could break your oaths every which way while polymorphed, but be treated as not having broken them. Whatever happens in dragon form stays in dragon form? That doesn't work for me.
However, as per the rules of true polymorph, you can...