If you play a multiplayer campaign you can set the AI factions to be the same. It would be nice to have that option in a single player custom campaign, though.