It doesn’t happen often but it does happen. One of the better explanations of war matchmaking:
Note things like war scores fluctuate before & after matchmaking based on players who are / not opted into wars so what is visible when CHECKED may not be the same as when MATCHED.
Another handy graphic:
And some other miscellaneous links: