An electrical inspector would need to sign off on it and any connections to the breaker panel. An electrician would have to do that I don't have the qualifications to do that. I do have electronics technician certificate but not as an actual electrician.
If I did it on my own then I'd risk having my home insurance cancelled.