Yes, a direct impact to the heart can traumatized the heart. But the pain you are experiencing can be due to bone, rib and muscle injury as well. This would be more likely if taking a deep breath causes chest pain.
Thanks for your question, and if you have any other questions or comments you are invited to respond. Take care,
Ken