What about using CPAP or BiPAP machines?
CPAP (continuous positive airway pressure) is a form of non-invasive ventilation in which mild, consistent air pressure is applied through a mask to keep the airway open and maintain oxygenation. BiPAP (bilevel positive airway pressure) is similar to CPAP, but alternates periods of higher and lower pressure to make it easier for the patient to exhale.
While these are being used in the treatment of patients experiencing respiratory distress, these methods have been discouraged for the treatment of COVID-19 patients due to the risk of aerosolizing the virus and thus increasing risk of infection to other patients and caregivers; the risk can be mitigated, but not eliminated, with optimal mask fit. In addition, these approaches are unlikely to prevent the need for mechanical ventilation, though they may postpone it.