Change plugin presets via MIDI CC

Hello,

I know that Ardour allows saving presets for audio plugins and I find this feature very useful, since some plugins don’t have proper internal preset management.

This feature would be even more useful if presets could be changed in real time, both for automation and live playing. Also, wouldn’t using a single instance of a plugin switching between presets save resources compared to using different instances of a plugin, each with its own preset?

To this purpose, MIDI CC messages could be mapped to preset change. Is there a way to do it in Ardour?