Auto-translated
this is probably not feasible through modding ))) but I wouldn't just replace Cave Dwellers with Ifrits, for example; instead, I would implement a mechanic similar to that in Heroes of Might and Magic IV, where the player chooses whether to build Ifrit or Cave Lord structures... depending on their play style and the creatures they need.