Permanent Hair Removal With Home Electrolysis.Needles, Epilators, Holders.

Is there any way to preform electrolysis in salt water with out losing the oxygen to a NaOH molecule?

I would like to extract the hydrogen and the oxygen from saltwater. Is this possible with electrolysis? If not, is there another process that I can use?