Some places do. Waste to energy plants are a thing. One of the big challenges is running a large, stable, chemical reaction on unknown fuel. It’s difficult to burn things hot enough to reduce potentially dangerous compounds while also having variable input. Then, the gasses need to be monitored to avoid dangerous compounds reforming as the exhaust cools.