Yes. Hero of Alexandria is credited with the invention of the aeolipile, also known as Hero's Engine. This was a rotating device powered by steam created over an open flame.
It's hard to imagine where we would be today if the power of the steam engine had been harnessed two thousand years earlier than it was.
We would all be cooked top death from Gorebul Warming having started 2,000 years sooner. 50,000 PPM Di-Oxygen Carbide in the 500,000* F atmosphere. There’s a consensus about that.