Being pedantic, but most heat is considered "waste" heat - aka it is high entropy energy, which is much harder to convert into the more useful forms of energy (mechanical, electrical, etc.)
Most power plants (coal, gas, geothermal, nuclear) and some solar plants already use a heat engine. Modern designs can capture nearly half the heat energy for use as electricity.