And.... really not sure I want to get into this.. how hard would it be to change alliances "on the fly" during a server?
And of course how bad would that mess things up?
Not possible to the best of my knowledge, initial tensions in the db make sense, but the current tensions are complete gobbledegook to me (for both the SQL and flatfile db).
It can be done, at least it could in EAW.
I did it by hand for The Four Powers war to ally the Feds with the Mirak. (Their Hydran allies proved too far away, and for the first day of the server there was a large section of their border where they drew Klinks as allies and enemies in the same mission.)
Skull did it twice in CW5, to swap the Hydrans and Lyrans over to the ISC side.
As I recall, there was a matrix in the DB that gave each race's tension settings toward every other race. I think the EDDBEDT program will alter the Imperial tensions towards one another, but was not programmed to look at pirate factions. This tool is of limited use since it loses it's ability to read the DB shortly after server launch, but a look a the source code Dave provided might show what it was trying to do.
-S'Cipio