Yes, diet has a substantial impact on cancer risk. Consuming a diet high in processed and red meats, sugary drinks, and refined carbohydrates can increase the risk of various types of cancer. Conversely, a diet rich in antioxidants, fibers, and healthy fats can help protect against cancer. Foods like berries, nuts, olive oil, and green leafy vegetables are particularly beneficial.