You can, but I usually recommend checking how much life your roof has left first. A 10-year-old shingle roof in Florida is likely to last 5 to 10 more years before it needs replacement. If you plan to stay in your home for a while, replacing your roof now, along with solar installation, often saves money compared to having to remove and reinstall the panels later.