>>52139610I don't know, but the Pokedex explicitly refers to what Pokemon produce as "fire energy", not actual fire. Same with other types.
0909: Fuecoco: It lies on warm rocks and uses the heat absorbed by its square-shaped scales to create fire energy.
0910: Crocalor: The combination of Crocalor’s fire energy and overflowing vitality has caused an egg-shaped fireball to appear on the Pokémon’s head.
0939: Scovillain: The red head converts spicy chemicals into fire energy and blasts the surrounding area with a super spicy stream of flame.
0949: Frigibax: Frigibax absorbs heat through its dorsal fin and converts the heat into ice energy. The higher the temperature, the more energy Frigibax stores.
There's probably more in Violet, since I saw a dex entry for Glimmora that mentions "poison energy". But yeah, Pokemon are basically producing magical elemental energy that takes the form of fire/ice/poison/whatever, not the real thing.