I’m aware of that interpretation, but it’s an exercise in absurdity; Mohammad himself spent most of his life slaughtering people en masse. An allegorical interpretation is grossly ahistorical and at direct odds with the life of their prophet.
There is no valid parallel to the OT; the Israelites did in fact kill off those people they were told to kill off, but those were one-shot deals for a very specific time and place. In mohammadeanism, it’s an eternal and perpetual command with no expiration date.
There is simply no way to make mohammadeanism peaceful, as Mo was one of the most violent and savage individuals to ever walk the planet and his creed was constructed specifically to justify his mass murders, slave-taking, rapes, deceptions, and basically anything else he felt like doing.
Even his own child-slave wife is quoted in the Hadiths as noting how Mo’s “revelations” kept conveniently commanding him to do what he had wanted to do beforehand anyway.
They are very atypical. Like the Jehovah's Witnesses of Islam.