Yes, having a healthy diet can help avoid heart disease. However, a doctor cannot cure a patient with severe heart disease by simply having a diet and not proper treatment.