Is there a maximum switching frequency for solar cells ?
Solar cells have a capacitance, like all diodes, and the leads have an inductance. That will cause a filtering effect at higher frequencies.

But the transistor also has a soft limit on effective switching