You should probably max attack too rather than just Hp, because there are some pokemon he can't transform into(e.g Zoroark behind an illusion, pokemon behind a substitute, so incase you have to use struggle.You probably wouldn't stay in, but it's better than not training it other than Hp.
Fact: Ditto copies stat changes too when he transforms.