With enough people in the sample size and an exhaustive list
of potential variables, using relative exposure to these variables(how many times were you sunburned, how long and qty of smoking, etc.) and if one of the variables was genetics, you could maybe estimate the probability that certain lifestyle choices, foods, etc. could cause cancer. It would be a gigantic undertaking, however, and would require so much coordination as to make it virtually impossible to complete.