Water injection (or water plus additives) was used in aircraft engines from the late 1930s to enable the use of higher compression or boost with the available fuel. As a result of this experience they were commonplace as an add-on to cars in the early post-war period, and in a few cases actually gave improved performance by cooling the incoming charge where the combustion chamber design and available fuel resulted in detonation.
Unfortunately, using electricity generated by an engine to produce hydrogen to aid combustion adds less power than the amount of power used to generate the electricity, and no amount of tinkering will enable a mechanism to circumvent the law of conservation of mass/energy, which is the fundamental law of physics that is involved. (basically you are asking for a perpetual motion machine)
It can be argued that you are using a small amount of hydrogen to improve the combustion of the diesel fuel, and this may have a grain of truth, but given the efficiency of heat engines (even the maximum theoretical efficiency of the Carnot cycle) and the efficiency of belt driven alternators, you are very unlikely to get a net positive result.
John
John
JDNSW
1986 110 County 3.9 diesel
1970 2a 109 2.25 petrol
Bookmarks