yes, it is a very easy concept. in chemistry you learn
PV = nRT
where p is pressure, v is volume, and t is temp
you can rearrange to T = PV / nR
so when the pressure goes up temperature goes up. at scramjet speeds the incoming pressure is waaaaaay up.
they even make small portable piston based fire starters based on this principle.