Leaves are not ferromagnetic, so they won't stick to an electromagnet.
A few small holes with a small pump that constantly sucks the air from them would help stick a real, unmodified leaf to the surface. and release it at will. This would require tampering with the license plate, even though in a very minor way.