It is possible for a crocodile to eat an electric eel, as crocodiles are known to consume a wide variety of species, including fish, amphibians, reptiles, birds, and mammals. Electric eels are known for their ability to generate powerful electrical discharges, which they use to stun others and defend themselves from attacks.
However, it is important to note that electric eels are typically found in freshwater habitats in South America, while crocodiles are found in a variety of habitats around the world, including freshwater and saltwater habitats. Therefore, a crocodile and an electric eel are unlikely to get on each other’s heads.
If a crocodile managed to catch and eat an electric eel, it is possible that the electric shocks generated by the eel could harm the crocodile. However, crocodiles have thick skin and powerful muscles that can help protect them from electric shock.
In any case, it is important to remember that all living creatures play an important role in their ecosystems, and that consumption of each other is a natural part of the food chain.