Is it a crime to hit someone in a mosh pit if they say they were fine after it happend?

The logical defense against being charged with a crime is that being in a mosh pit is consenting to what happens in a mosh pit. No one would get in there without knowing what the risks are, and so are accepting the risk.