As has been said some systems all ready do that. What is missing is a means to transfer that info between systems from different manufacturers.
Most modern systems have USB/LAN/Wi-Fi so a physical means of connection all ready exists, only needs a standard for the format of that info to be decided upon and write the code to implement it.
There is an existing standard that is open source and requires no licensing fees. The JMRI roster file, a simple version would only need data for CV's 1,17,18 and 29 and the loco name, but could optionally include names for function buttons.