configure tvh backend from kodi addon

Do you think it would be possible to create an addon program to configure the tvheadend backend (like scanning muxes and adding services/channels) from the kodi interface?

VDR has something like this and it would seem like there may be api access to the configuration that would at least get some basic functions to be configurable from the frontend?

If someone has an idea on where to start – I’d be happy to try and help build the addon. Thanks!