That is exactly what the solar panels do. They aren't mounted directly on the shingles but offset a couple of inches from the roof. The area under the panels tends to be cooler than the rest of the roof.
Yes, somewhat. Though probably not good for snow or high wind load. But an unconditioned, properly-ventilated attic with radiant barrier probably gets most of the way there with less labor cost or roof deck damage.