It's possible for acidity to cause pain around the heart. But I don't think it can cause heart problems. Although I can't say for sure as I'm not a doctor.
If you think you may be having heart problems it's recommended to see a doctor.
The pain around the heart could also be heart burn but it's best to see a doctor to know for sure.