https://www.keyboardmaestro.com/main/
Yes it would allow you to create macros that can be commanded with any simple MIDI events that locate the playhead to any bar number you want, so for example one MIDI event would locate the playhead to bar 9, another to bar 18, another to bar 27, etc.
I suppose the clunky part is that you would see the Go To Position being displayed and auto-filled before the playhead moves, I'm not sure exactly how quick that would be.