This doesn't sound particularly like heart attack
. And yes, sore muscles and all the other symptoms you describe can be caused by anxiety, especially if the anxiety is extreme and lasts for an entire day or longer.
I think it's worth going to a doctor, for two reasons. One is just to make sure your heart is OK. Another is, if you get anxiety attacks like this often, it may be worth to start treating them.
In the future, though, if you suspect having a heart attack, don't wait for 5 days.