It should take the radiant heat load off
A more attractive method is to use something like a privacy screen that surrounds the house (not like a fence to keep people out - it would need to be relatively close to cast a shadow) or planting for shade. But, that doesn't handle the roof....
But you're not limited to foil - any opaque radiant barrier will work....