It would be easy enough for the creature to be immune to its own poison. Many real-enough animals are. But someone else is going to have to explain the fire-breathing part. I'm not a biologist.