Yes, walnuts can contribute to heart disease prevention. The omega-3 fatty acids in walnuts help lower bad cholesterol levels, reduce inflammation, and improve heart function, thereby reducing the risk of heart disease.