its possible as some claim such stories were added by some "Israelite Muslims" so that the Arabian prophet will not be superior than their Israelite prophets.
In Israelite scriptures their prophets do a lot of mistakes opposing the commands of Yhwh,
for e.g prophet Aaron allowed the worshiping of idol calf, so prophet Aaron himself moulded the idol cow for Israelite to worship. Rabbis say the logic behind such act was to buy some time awaiting for prophet Moses to return, and by worshiping idol they will stay content and not went violent.