Can punching my iPhone damage it?

Solution 1:

Sure it can, just like dropping it on the floor.

999 times you'll get away with it, the 1000th you'll break something.

As this is entirely behavioural rather than accidental, I'd suggest you learn to not do it.