Does the AI ever receive special missions? ie (take settlement, blockade port, etc.)

Would it be possible to mod the game so the player could pay money/give a settlement to another faction in exchange for that faction attacking a specific city of another faction. Or assign some other type of special mission?

I'm wondering if it possible to do this in either in vanilla or XCAI.