Dynamic generation of HVAC-IR codes for IR-Controllers

What do you think about the idea of generating dynamically IR Codes for devices such as BroadLink RM or Chuang Mi IR remote (when supported) ?

I found out following github project that could provide codes for Mitsubishi, Panasonic and Toshiba HVACs