In short 'Yes'. Long answer is how much power does the oxygen machine use. This will determine how long it will run during a power outage. Next question is, how long is the power outage going to be? Is it critical to stay on during the entire outage even when the outage lasts several days? The UPS most likely won't last that long. For a good answer there are too many variables that need to get answered.