This would be literally impossible
Firstly there is no actual way for AI to know people's intentions, so it wouldn't be able to distinguish what is teaming and what is just not attacking someone else for a short period of time
So you can get equal items and have a fair find
Not to mention teaming isn't considered teaming if all players left in the game agree to do it, since teaming isn't just teaming up with other players it is teaming up with other players to gain an advantage over another player but as I said before teaming isn't teaming if all players in the game agree to do it
If you want to build something like the voidless eggwars that was made, building the stairway to heaven (which I still am triggered about dying during the making it as the game ended due to that), or the whitehouse
All things that were made in eggwars and none of them involved teaming as in all cases everyone there agreed to do it