It’d have to be a separate application though, as the same functionality on Windows would not be possible without impacting the DAWs, since access to MIDI ports there is exclusive.
On Linux this is definitely possible and I did a very quick research on macOS, it looks like it should be possible to implement for macOS too.