Not directly but if we were to factor in the energy it took to make the panel in all the different phases of the manufacturing process, it has been estimated that solar energy releases 25 to 32 g/kWh. This compares favorably to coal which releases 960g/kWh or even clean burning natural gas which releases 590g/kWh.
The only technology that releases less g/kWh would be wind turbines or in some cases Sourcehydroelectricity.