I don't know about initially, but yes, Tesla has a solar tile project. It is mostly being installed by third parties now and is very expensive compared to an asphalt roof with panels.
They got it as part of rescuing SolarCity, which made little sense as a business move from Tesla, but was owned by Musk's cousins so he decided to gift them 2B$, let it go a bit, then abandoned the project.
https://www.tesla.com/solarroof
At announcement, different designs were available, but in the end I think they've only offered slate.