Integrate Bezier Curves into Key Editor

Would this even be possible with MIDI CC? It doesn’t work the same way as VST automation.