Yes, I see your point.
Let me express another idea that I tried on the fly with not good results though, because I used optocouplers. Optocouplers are not fast enough and the end result was enough power loss.
I 'll try to make a schematic later but the general idea is to have a Mosfet right after the rectifying bridge and BEFORE the smoothing cap. On zero crossing, the Mosfet is ON and is charging the cap up to the Vreg output plus say 10 volts. Then it is turned OFF for the rest of the period.
I tried this with an optocoupler design that was a bit slow in response, leading to power losses on the Mosfet. The opto was necessary because of the big voltage differencies in the circuit.
Ioannis