The biggest reasons it would likely be unimportant if implemented would be the sp cost vs the (likely very short) duration, and the fact that the monsters you'd most want to use elemental immunity against (like elite dragons) would be precisely the enemies most likely to dispel it or otherwise neutralize it.
Now, if there was an ITEM that had the effect on it, then Katy bar the door......
_