Yes, diet can play a significant role in cancer prevention. A diet rich in fruits, vegetables, whole grains, and lean proteins, while low in processed foods and sugars, can reduce the risk of developing cancer. Maintaining a healthy weight through a balanced diet and regular physical activity is also crucial.