Not really. To be honest, as the increasing of light intensity, the resistance value of photoresistor reduces instead which can’t be converted into electric energy;
However, the working principle of solar cell is based on the photovoltaic effect of semiconductor’s PN junction.
PS: Photovoltaic effect means that when the object obtains light which leads to change the electric charge distribution of object inside and generates the electric charge and current finally.