Although I am afraid I don't know much about fire salamanders specifically, it is certainly possible for ingested fly larvae (or larvae hatching from ingested eggs) to survive ingestion and subsequently cause intestinal damage. Parasitic infestation by fly larvae that grow inside the host while feeding on its tissue is called myiasis. Enteric myiasis (also called gastric, rectal, or intestinal myiasis to indicate the affected part of the digestive system) occurs occasionally in humans following the ingestion of cheese infested with cheese fly maggots. Casu marzu, a traditionally produced Sardinian cheese, is _supposed_ to have live cheese fly maggots in it, and cases of bloody diarrhoea following its consumption are known. If they're dead the cheese is considered unsafe to eat (although personally I'd correct that to 'more unsafe').