The closest thing to Transformers is the BattleTech:Capellan Solution mod for Generals.
But this is more of a MechWarrior type of mod Where almost all the units for the 3 factions are robots except that they don't change into other units.
I would guess that this would be a HUGE undertaking because you would have to model all the units to come out of a factory as one model and when it would go into battle mode it would have to change into the other model.
You would also have to figure out the Wait and Response times of a transforming unit under attack or when attacking.
Meaning that it would have to transform,lets say within 2 seconds of attack or attacking and then how long would it remain in that state after the danger has passed before reverting back.
Unless you tie the units transforming mode with that of the unit's vision range so that when an enemy unit comes into range it would automaticly transform.
As far as story goes,change it up a bit.
I never liked the part about robots turning into cars and trucks,just seemed abit silly
What i would do is to have weapons systems come out of them from various parts of their body...something like the Seige Copper from Yuri's Revenge.