Not where I live, no. For instance, we had a friend laying bricks in our yard, for pay, and I asked him if he could also wire the yard lamp. He said no - he could pour the concrete foundation, and make sure there were spaces for the wires left in the foundation, but since it was a paying job, he could not accept pay for the electrical work - I had to call an electrician.
We also had a painter/carpenter installing a new built-in clothes closet, and he discovered a live light socket hidden by the previous unit. He could use a tester to show that it was live, but since it was a paying job and he was not an electrician, he could not disconnect the socket. Needed to call an electrician to do it.
In both cases, the guys were handy fellows who could have done the job if it was on their own property, or not as part of a paying job, but if it’s for pay, it has to be licensed electrician.
As I said, it’s a consumer protection measure. If you’re paying someone to do the job, that person has to have the proper training and licence. Same as for a lawyer.