I cannot tell you to do panels or not to do panels, but be aware that 'most' roofing companies will void your warranty if you poke holes in the shingles. To be honest, I have not really had any issues with leaks from panels when I do tearoffs, so maybe it's not a huge deal anyway.
What I can also tell you is that you should check to see how long the company has been in business and pick accordingly. I did 5 roofs last month with solar panels. Only two of those solar panel companies were in business, and they will void solar panel warranties if I use my solar panel tradesman to remove them. So, those customers had to use the installing company to remove and reinstall to maintain warranties. The other three had companies that had long been out of business, so I did the remove and reinstall. My guy won't warranty panels unless he installs them, but he will remove and reset them becuase, well, you have to if you need to do a roof and the panels are on top.
I'm just saying, it gets dicey when companies go out of business and new companies may not warrant any work related to them, but at the same time, you have to have them removed to do the roof, and since panels will outlast the roof in most cases, just pick your solar company carefully.
Infinity Roofing - https://linqapp.com/jason_duke --- JasonDuke@InfinityRoofer.com --- https://infinityrooferjason.blogspot.com/