While I haven't done the math, in a real-world situation, with losses, due to inefficiencies, you couldn't generate more electricity than was consumed to generate the steam that powered the generator.
However, one application that the electric boilers really works well with is as a steam battery. You can use solar panels to generate electricity during daylight hours, store the steam, then using it at night to generate the electricity.
There is another mod, 'Time Tools' that I've used to accomplish this setup.
You can easily modify this mod to alter the steam, or power consumption to match your own play style.
i tried extracting the zip file to do just that, but i couldnt find a way to increase the steam output, could probably decrease power consumption though, but then, if this mod gets an update i will have to edit it again. Also, yes, in real life it is impossible, but this is a game, i dont want to use a cheat mod that just gives free electricity, ( for example. no resource input to make, or no pollution ) thats why i was gonna use it, but, a solar and electric boiler setup could be interesting to set up, though, im not that familiar with circuit networks, well, a reason to learn i guess