One of the Definition of enemy is a thing that harms or weakens something else.
Since none can harm or weaken Allah, can I conclude Allah has no enemies and thereby the phrase enemy of Allah a metaphor ?
This is further emphasized by Quran verse when translated.
5:33 Indeed, the penalty for those who wage war against Allah and His Messenger...
I'm asking this because arabs also used the phrase "may your face be covered with dust" metaphorically.
The last prophet has used words "get out enemy of Allah" while Exorcising.