Depends on where you are. I can DIY the physical mounting parts of a rooftop install where I live (San Francisco), but a licensed electrician needs to do (or at least supervise) the wiring.
I do wonder if having an electrician come by after the fact to inspect it counts as "supervising", though.