Yes.
(i) The air near the holi flame is hotter than the air above, hence it is a rarer medium than the air above.
(ii) Because of this change of medium the refractive index keeps on changing as we go higher and higher above the flame and so the refraction of light also changes.
(iii) This gives a shaking effect to objects beyond and above holy fire.