For now, you can’t train a cat in vanilla Minecraft yet. But hopefully, this can be achieved in the near future.