You can sorta can.
1. Download this
Item Data Extractor 1.0
2. Delete all the function names and add GetUnitTypeStructuresBuilt takes integer integername returns string
3. at the bottom, where it says LoadItemData change it to LoadUnitData, and replace all those ids with the desired build ability id.
4. Then utilize String by Bannar
[Snippet] String to grab separate ids.
Note: You will need WEX to turn on Object Data Extractor.