No, This information is not available through the Configuration API or other APIs.
I can see how this would be useful information to retrieve by code. I will make a request to Milestone Product Management to consider this as a new feature to put in a future version.
Milestone Development have now developed new functionality that makes the information available in the Configuration API and Rest API. The new functionality will be in 2024R2, so please keep an eye on the future release news from Milestone.