Maybe a wireless midi adapter will solve your problem, it can transfer the midi into bluetooth signal wirelessly.
https://www.amazon.com/dp/B07RFJFXHN?ref=myi_title_dp