You can attach extended magazine and spare magazine to a flamethrower, but they don’t actually do anything, except add weight and make the ammo counter look funny.
Well, a spare tank isn’t too unbelievable, but yeah. Probably should be separate ammo-mods for plasma guns & flamers.