There is a theoretical possibility that human bodies could become fossil fuels, but this requires several highly unlikely conditions.
Although fossil fuels are often associated with dinosaurs, the vast majority of the organisms that became fossil fuels were much smaller in size and died long before dinosaurs appeared on our planet. Fossil fuels are carbon compounds formed by the decomposition of dead organisms that were not as complex as dinosaurs or humans.
Coal, oil and natural gas are the main fossil fuels formed from ancient flora and small fauna that existed millions of years before the present day. Coal contains energy that was once contained in plants that grew in swampy forests. They then sank to the bottom and partially decomposed in an oxygen-deficient environment. This turned them into peat.
The wetland areas then dried up and the peat was covered with other materials.