If you emit a particle (a photon) and then catch it the net effect will be 0.
So having a directional lightsource fire into the sail wouldn't work, but having one that emits light in every direction on one side of the sail would.
It's just converting stored energy (some amount of kJ or kWh in a fuel tank, or battery) into an aerodynamically weird highly inefficient thrust method.