Sadly, I've tried this twice without success, long ago. It's possible that the AI has been changed to make them work better with "different" resources, but in the past, the following problems were noted:
Firstly, they occasionally had trouble figuring out how to get a resource if not obtained from producing or building a simple unit, eg: earlier versions of the elves factions.
Secondly, they refused to harvest some additional resources past the traditional numbers, eg: earlier versions of Military (which had an oil well and oil as an additional resource. This may have been because they only expect the traditional numbers of resources, or it may be because they only handle resources available at the beginning of the game, and resources that cannot be harvested until later cause issues.
Thirdly, the AI seemed completely incapable of correctly using any type of "trading center" like building (converting one resource into another).
Finally, when the AI met these limitations, they simply went... wonky. Sometimes they just didn't build or harvest anything, but more commonly, they would make a bunch of the "worker" units but not expand past that point.
Bottom line, I recommend you start with a very basic XML setup with placeholder models and test if the AI can handle how your resources are set up before you put any real effort into the techtree.