this conversion is already being done using other energy sources. the only question is as to whether solar is a better cheaper, smarter, faster source of power.
Plastic burns nicely, it burns very cleanly if the AFR is correct, same as diesel or kerosene or gasoline or any other petroleum product.