AFAIK, NY controlling jurisdictions vary as to what is allowed. Our NY town allows the home owner to do their own electrical work, but they have to sit for an exam (not sure how rigorous it is), pull a permit and get inspected, since in NYS ALL electrical inspections are requested from and done at the state level.
While I agree with the DIY spirit--I am very cautious as a "handy person" about doing electrical work anywhere other than my own home, and the same caution extends to anything involving my work with the local Habitat chapter. A trivial example of the latter--we are working on a group house for formerly homeless, and found a non-working light switch--clearly a three-way switched from either end of the hall that was not working correctly. I was "capable" of fixing it--but this is a 20+ person shared house, so we called the electricians!
OTOH, I have done the occasional electrical job working alongside a proper Sparky, where I'm doing trivial or stupid stuff and he is checking my work (and this is based on trust built up over a few jobs.)
The funniest one was a recent kitchen remodel (where I was the point person/general handyguy/finisher) and the State Electrical inspector showed up--and objected to the placement of an outlet at the end of a peninsula (ironically, we'd already moved it once since the electricians changed their minds and I had to patch the drywall once already).
I got an earful about how by code (and in real life) "a peninsula is different than an island"--then he told me where I needed to move it. He then gave us our approval and asked me to text him a picture after it was moved, since "I looked competent enough to move an outlet."