This is true about dieseling and in fact if you put a drop of oil on the back of a high performance air gun pellet, the heat generated by the rapidly compressed air in the chamber will ignite the spot of oil and increase the pressure of the shot..., maybe to the point of splitting the barrel.
https://youtu.be/yyfxinhOQxs
https://youtu.be/yyfxinhOQxs