Nope!

The game is just that; total war. You can try as hard as you like, there is no way to have a permanent alliance. You can have a good 'non-attack-pact' if you take the super-faction way though. And scripts can help a bit, though they can't do miracles with this engine.