You can use a pc as a midi hub. You do need some form of routing program to get the data going the right way. The pc may only do usb but there are usb to midi adapters out there.

I think you could do this using a Raspberry PI and "Jack" software.

There are also some stand alone interface boxes such as https://www.thomann.de/gb/miditech_usb_midi_host.htm
_________________________
John Allcock