If you could get electricity for free HHO systems would be viable to a certain degree. Unfortunately it takes energy to create electricity and when you get that energy from driving an alternator or generator with an internal combustion engine the losses far out way any gains.
The following link explains it by running the numbers and applying well understood science
Scientific proof proving that HHO scams are a fraud