Yes. The system will happily let you name two pets identically on the same account.
Just be aware you'll be the one paying for it later — telling them apart in your inventory gets confusing fast, so a small variation is usually worth the effort.