Yeah the Blokas Midihub seems like one of the best options for this kind of thing, I’m hoping to get one soon. You can filter, channel swap, remap to your heart’s content, and if there’s buttons on the keyboard that send MIDI you should be able to use them to control routing/splitting etc all from the keyboard by mapping things in the Midihub software.