Yes, but the reason for fire is the liquid electrolyte. Lithium batteries don't have to catch fire. A short clip from PBS Nova: https://youtu.be/m9-cNNYb1Ik
Sodium Carbon batteries have the same issue with flammable liquid organic solvent electrolytes. There is research being done into using a solid electrolyte and a metal anode though.