Agriculture LEDs are designed to only emit 'growing' wavelengths. But the efficiency losses in converting sunlight to electricity via solar (20% typical) and from electricity to LED light (better, but not great) don't make it any better than growing in a glasshouse.
They try to make solar panels absorb across as broad a spectrum as possible, but they don't absorb everything by default. It's an ongoing research goal to add spectrum without increasing cost.