As far as I'm aware a IC engine is only suited to running on liquid or gaseous fuels, OK?
So for the carbon lovers out there, here's an idea:
The exhaust/head section of an engine has more than enough heat being dumped to superheat steam and react it with hot carbon dust. The result is syngas which can run or at least 'co-fire' said engine.
Syngas will burn very cleanly to make (ideally) only water & CO2. From the cooled exhaust gases almost clean water should condense out to then be reused in making more syngas with more carbon 'fuel'.
The advantage in these eco times would be to use woody biomass (instead of coke) to pyrolyse into high grade charcoal (>95% carbon). The lighter fractions could be harvested separately.
Mad?