DIY is possible in theory, but permit rules, approved equipment, and electrical safety make it much harder than many people expect.
DIYINSTALLATIONPITFALLS
Self-install solar can be legal in some places, but it is not as simple as ordering equipment and bolting it to the roof.
Some hardware lacks the certifications or approved equipment listing needed for legal interconnection. Passing permit review is not the same thing as passing final inspection.
Most importantly, this is high-voltage electrical work. A system can look complete while hiding very real safety hazards. DIY requires serious respect for compliance and risk.