That is trivial yes and I was well aware of that :)
What wasn't obvious to me from the parent comment was why it is apparently completely impractical. No energy conversion has an efficiency of 100% so the answer couldn't just have been "because thermodynamics" but as other comments have since revealed, it is because _current_ hydrolyzers only operate on an efficiency scale of 60-80%.