I mean in general it could be a right-ish idea. I myself have noticed when buying solar panels after replacing shingles that basically the per sqm cost of solar panels is like 2x of shingles (of the not super expensive kind). It could be easily more economical to use a modern version of this to replace your roof.

On the other hand, Tesla's solar shingles are tiny compared to panels, more in the shape of actual shingle strips, means tons of connectors, wiring losses, dangerous shorts (these things carry 10s of amps) etc. and probably a nightmare to troubleshoot.

I would not get these for any reason other than aesthetics.

I don't think it really adds up. It's an inconvenient install location and roofs are replaced every 10-20ish years. It makes sense from an efficiency standpoint but the capital costs outweigh that.

IMHO a pergola or carport is going to be better. You lose solar efficiency but gain the benefit of something that provides shade. Especially as solar panels have become an economical roofing option if you don't care about perfect waterproofing.