When and how you combust the fuel can give you different fuel efficiencies as well. For instance, the Brayton cycle can achieve easily over 50% fuel efficiency. But in order to achieve this, you need a special housing (jet engines uses this cycle) to be able to compress the fuel to the specific pressure and also handle the pressure. Also, special fuel is required. These two things makes it not really practical for the standard consumer.
On a tangent, Internal combustion engines is probably one of the funnest and hardest class I took in graduate school...
https://arstechnica.com/cars/2016/05/turbulent-times-for-for...
Ceramic, for example, can operate at far higher temperatures, so in theory a ceramic engine can be more efficient.
However, ceramic is harder to work with, and not as durable as steel, so it's not a practical alternative.