I seriously doubt that JK would allow any external library linking for security reasons alone. And this would only be for the real cracks that know how to use it. AI's that can be scripted were already on my wish list, too - just so that people realize that developing an AI is really hard work.
Seriously, somebody who suggests learning AI's and thinks that they'll be going to outperform specifically designed AI's probably doesn't have much experience in that field. The idea does look nice on paper, but already for simple games the training of the AI takes considerable time. Thousands or ten thousand games at minimum to have a somewhat bearable AI that probably still sucks and isn't very competitive. Even if the whole Dom3 fan base would submit their entire games this would take dozens of years. And don't forget that this game is far away from being simple. There are so many shortcuts in the game and combos that depend on details which a statistical model would either ignore as singular peaks or try to use them in situations where they do not work for it. A statistical model would probably go for the "good for most situations" choice which usually is quite poor in a specific situation.
Giving the AI some ideas what would be best to build, cast, etc., some sort of "sugar", would probably be the easiest to achieve and the most effective. The format could be somewhat similar to what the RanDom project is using for provinces.