Isn’t there already a city in Sweden that is using its own garbage to manufacture its own electricity? It’s supposed to be pretty much independent and have extremely low electric rates, hence petroleum products are needed only to run vehicles.
There are many cities in the US that burn trash to generate electricity.
http://www.livinggreenmag.com/archives/energy_conservation/electricity_trash.html