Umm yes we do? We factor in these costs to every energy source, at least in our country, and solar is not even remotely cheap.
And if solar isn’t cheaper is you are getting ripped off or you live in a cloudy place or far north.
Did your country factor that into the costs of fossil fuels?