Yes. The reverse of this is seen with Io and Jupiter.
A conductor moving through a magnetic field will develop eddy currents within itself, aligned so as to produce a magnetic field opposing the one that created it. This is how eddy current brakes work for trains.
The huge magnetic field of Jupiter induces a current within its moon Io which "feeds on Io's orbital energy" - it is the movement of conductive Io through the field that gives rise to this current and consequent magnetic field.
The Io Dynamo
Of the large moons--comparable to our own moon or bigger--the outer
three are icy spheres, but the innermost one, Io, is heated by tides,
and as a result has volcanoes and an ionosphere which is a fair
conductor of electricity. Jupiter itself like Earth is a magnet, but
one that is 20,000 times stronger; as a result it has a large
magnetosphere and a very intense radiation belt.
A dynamo is created in a magnetic field by an electric circuit, part of which is moving relative to the rest (additional conditions
must also be met). The circuit may consist entirely of fluids (as in
sunspots), but solid conductors can also be involved.
The conditions for a dynamo are fulfilled in the case of Io and and >Jupiter. Both are conductors, and they move quite differently--Io
orbits, Jupiter rotates. Furthermore, the plasma between them conducts
electricity very well along its magnetic field lines, which act as if
they were wires connecting Io and the planet (drawing). One expects a
continuous current to flow in this circuit, feeding on Io's orbital
If your moon had a magnetic field (and it does not matter if it is an electromagnet like Earth or some giant fixed magnet) that extended far enough to encompass conductors on its planet it could produce current within those conductors as the moon passed by. Our moon is a long way away to do something like this but the moons of Mars are comparably very close and could serve as your model - a fast-flying magnetic Phobos.
The question then - what would the induced current do? One would think it would go to ground. However lighting comes from the ground up all the time. It has to do with charge difference - atmospheric charge plays a role too.
https://earthscience.stackexchange.com/questions/580/why-does-lightning-strike-from-the-ground-up If there is a charge in the sky (from wind, dust - the usual suspects) and an opposite charge induced in the ground a path would form between ground and sky.