It seems like they do, and their injuries are easier to heal than the animals back home, but I still don't like them getting hit if they don't have to. I saw enough of that back home. If the Pokémon with me hadn't really wanted to fight at the gyms I wouldn't have tried to challenge them in the first place.
[Video]