Zinc rich undercoats have been used very successfully, BUT as a previous poster suggested, every part to be protected must be in virtual contact.
Whether the cathodic current comes from a zinc or aluminum couple (galvanic) or from a driven electrode doesnt make much difference.
The EXTERNAL corrosion current path is important. In salt water environments like offshore platforms, the anode will provide protection in the near vicinity of its attachment because the current 'throws' (see electroplating theory), or distributes, somewhat.
These shitteaux cathodic protection devices for cars which you see advertised in the likes of J.C. Whitney are snakeoil. They play on the almost scientific jargon that is associated with them, but are next to worthless.
If you want to attach a magnesium, zinc, or aluminum anode to your car, then do so. It will protect within a very short radius when it is wet.
Wish I could draw a picture using a browser. Makes a lot more sense than trying to explain it.