Anyway, I'll continue here with the photosynthesis approach.
To make oxygen from CO2 via photosynthesis they would need to dedicate an entire module to growing green algae. Or if they set aside three modules to the task, they could grow most of their food in them, and as a biproduct, also create all the oxygen they need from plants. In theory anyway. Experiments on the ground by the Russians showed that this is possible. The main question would be whether the same methods work in orbit. For instance dwarf wheat, which they used in the ground experiments had disappointing yields in zero g.
That could just be a matter of choosing the right species for zero g. Or for that matter, (just my own idea, not seen it in the literature) - why not have containers for the plants around the exterior of the module, that spin around the center, like a tumble drier, at whatever spin rate is needed to get enough gravity for healthy growth of the plants?
The thing is that the ISS is not primarily designed for doing studies like this. If you set aside three modules for growing its own food, that's three modules that can't be used for their zero gravity experiments and spacecraft systems. Even one module would be more than they would consider acceptable for this.
The mass requirement for the water needn't be great. The obvious thing for a space station is to use aeroponics, where the roots of the plants are suspended in an atmosphere of water vapour plus nutrients. This uses almost no water at all.
The air in the ISS needs to be kept very dry to prevent microbial growth which is a problem in space stations, microbial films, for long duration multi year stations like MIR or the ISS. But that just means that the atmosphere of the growing chamber would need to be isolated from the rest of the ISS.
Indeed you could condense the water that forms inside any container with growing plants (due to plant transpiration) and use that to supply water back to the ISS, so it could help with purification of the water.
The power requirements for supplying artificial light for the algae is within the capabilities of the ISS. It was 48 kW for xenon lights for green algae for six crew - that's a total of 8 m2 of algae per crew member and 200 - 300 watts illumination per square meter. But with modern LED technology that could be reduced to a tenth or less.
So in principle they could generate all their oxygen, it would seem. The main difficulty there would seem to be space rather than power supply.
Or you could use natural sunlight and go all the way and have an "artificial greenhouse" in space. If you can do it in the vacuum conditions of the Moon or on Mars, you can surely also do it as a space module, and it is a natural place to test the technology first. You'd probably have it at a lower pressure than the ISS as plants can make do with much lower atmospheric pressure than humans which could simplify the technology a bit. For instance in this NASA challenge they suggest a quarter of of Earth normal for a greenhouse for Mars or in Space. Deployable Greenhouse
If this was their priority, then either they could get all their oxygen this way - or else - they would turn up some issue with this approach. If we have a future space station focused on human factors and preparation for long term interplanetary flight and missions on the Moon and around other planets without resupply from Earth, this would surely be a priority.