Take out the seats, equip the cabin with ventilators, and when one outbreak gets under control, send the aircraft to the next outbreak zone.
They even have their own generators lol.
Not sure if this is supposed to be better. And who would fly all these people? Access to the cockpit is through the rest of the plane.
Also, considering Boeing was anticipating FAA approval within weeks, it's fair to assume that the MCAS problem has been resolved. (https://www.reuters.com/article/us-boeing-737max/boeing-737-...)
If it were truly necessary, you could also set up an airtight septum to separate the contaminated part of the aircraft from the front part that includes the cockpit. There is an aft door (as well as emergency exits) that can be used to access the rear of the aircraft.
It just has to fly handful times, from Boeing park lots to a depot in a desert and back from frontline after months/years. They are supposed to be clean before deployment, and can be cleaned by medical professionals before reflying. Or maybe cracks would develop and can't be manned after anyway, either way not much there is in terms of infection risks.