I've got a few hundred bodies from when I was medical examiner. If the person had BMI >30, wasn't muscular, and died of heart attack, stroke, etc, obesity was listed as a contributing factor. Many death certificates have a box that you check if the person was a smoker. There was a push to get another one put in asking if the person was or had been fat.