Controlling Endless Knobs/Push buttons with Midi

Im wondering if theres a way to assign a midi command to effectively push an endless knob, or push button.

This may be a strange use case, but I’m envisaging a scenario where I assign plugin parameters to pages of controls, and use an external MIDI controller (Graviton M1/FS6W) to control the parameters.

This would effectively give me an flexible way of supporting multiple banks of pedalboard control using a single set of 6 CC commands (using the Dwarf to effectively switch banks/pages).