Yes it would be possible, but it is not easy as all valid combinations are not stored in a table. This because you can setup ranges for valid cost centers. A new added cost center might be automatically valid or will not be allowed for some locations.
So you need to prepare a (temp) table to be able to export the combinations in an xml.
You have to do some research how exactly AX is validating the input on e.g journals to be able to create this.