Yes, if a heart muscle is damaged during a heart attack, it can repair itself by forming scar tissue. However, the process of healing can take up to several weeks. Moreover, it depends upon the extent of damage and the body's ability to heal.