Yes, the pain induced by a heartburn can be confused as a heart attack and on the reverse side, you may not take the pain of a heart attack seriously thinking that it is merely a heartburn. If the discomfort caused around the chest area makes you uneasy and if the discomfort prolongs, it is good to immediately consult a doctor and get all the relevant tests done.