Yes, though the system will produce less electricity. Under a light overcast sky, panels might produce about half as much as under full sun.  The solar PV system doesn’t need sunshine, per se, to generate electricity as much as they need direct unobstructed access to the Sun’s UV rays.