Sending MIDI signal to Nanokontrol2 to control lights

Hi,

I’m just wondering if it’s possible to send a MIDI signal to my Korg Nanokontrol2 when I, for example, enable / disable a plugin, so when I switch between songs, or change something in the software, the lights on the Nanokontrol2 will sync?

Thanks