Marbles and Midi

I was thinking about generative midi sequencers like the Torso T-1 as I wanted something Marbles-like for standalone midi synths then started wondering about adapting/reworking marbles as a midi controller, without using a cv to midi controller as well as a midi to cv controller

But it looks like Marbles could do it anyway via the serial ports. Before I waste my time (!) has anyone else tried adding midi i/o using the serial ports? It looks very doable and it looks like yarns’ code could be adapted here. Am I missing any show-stoppers before I mess around? (I have got some stripboarded midi ports lying around from other projects that I can adapt esily enough anyway)