I still don't feel convinced. No matter what their size is such bubbles are short lived - when they get to the surface, they pop. They don't create a stable foam.
Besides, unless the electrode is highly polished, it is much easier to start bubble creation on the surface, than inside of the solution. That's no different from using boiling chips. No idea why you think homgenous reaction gives many small bubles - quite the contrary, activation energy required to create a bubble is very high in the bulk, so once the bubble is created its grow is favored over new bubble creation. That leads to small number of large bubbles, not large number of small ones. On the rough surface of electrode situation is opposite, nucleation being a key word.