Welcome to Healthcare Magic and thanks for asking a query.
You are aware that you have anxiety/panic attacks. Last year, when you went to the hospital for chest pains, the doctor suggested that it was anxiety. I hope that you have been getting treatment for anxiety.
Unresolved and untreated anxiety will get worse. It can cause physical symptoms, too. Chest pains are one kind of physical symptom. Muscle aches and pains are another. This happens because the muscles get tight due to anxiety and begin to ache. Most common aches are in the lower neck, between the shoulder blades, and legs. Sometimes the pain seems to be coming from deep inside the bones.
I would strongly suggest meeting a psychiatrist
for a full mental health assessment and planning treatment.
All the best,
Dr Maneesh Gupta