Coughing regularly can itself cause back pain. "Smoker's cough" for instance is often associated with back pain caused by muscle strain. If you're not a smoker and you're still coughing alot then you could have some lung issues and you should see a doctor for that. Pain when you breathe in can also be associated with some heart issues. All in all you should get this checked by a doctor. Good luck!
Do you have a cold or respiratory infections? Coughing can jar your body and make you hurt all over. It is similar to being slammed against a wall.
Are you taking any medication? I would check to see if a cough is a side effect. I know Lisinopril (blood pressure medication) can cause a dry cough. I like to use Drug.com to check for side effects. They have a professional handout that list all the side effects, even it is rare.
See your doctor; this could be a serious matter or something as simple as changing a medication, but you have to see the doctor to find out.
We hope you find this general health information helpful. Please note however, that this Q&A is meant to support not replace the professional medical advice you receive from your doctor. No information in the Answers above is intended to diagnose or treat any condition. The views expressed in the Answers above belong to the individuals who posted them and do not necessarily reflect the views of Remedy Health Media. Remedy Health Media does not review or edit content posted by our community members, but reserves the right to remove any material it deems inappropriate.