I use ozonated water in my waterpik. The cavity treatment requires using high concentration ozone generated with oxygen feed gas. The individual tooth is tented and insulfollated killing the bacteria in the carry then a sealer is applied.
Do it yourself? I guess it would be possible, doesn't sound too complicated doing the killing, not sure what sort of sealer would work. They use a lot of UV hardened plastics in dentistry.