I think the thread that discussed this the most was: Alliance wars - matching manipulation
Possibly also related: Alliance Swapping/Score Manipulation is Ruining Wars
And:
And of course the classic: Alliance Wars Matchmaking (Discussion & Developer Response) MASTER
Pretty sure every version of this has been covered before…please continue reading and discussion in one of the linked threads.