Typically no, a homeowner can't legally pay someone to do electrical work unless that worker is licensed. However, a company can have staff electricians as employees who do not need to be licensed (e.g. Boeing or Amazon staff electricians). At least that's the case here in WA. Not sure why a direct staff employee is OK unlicensed but a hired person must be licensed. Perhaps there is a way to use that same employer advantage for a home I"m not sure. Probably going to have to be a true employee though, not a hired service. You also generally can't even do the work unless it is your home, that is, if grandma owns a house you can't do electrical work for her unless you're licensed. Even for free.
I own a condo unit and am curious if I can pull a permit for electrical work (I've definitely done it for houses I've owned). I own everything in from the sheetrock, but not the wall structure and not the land so not sure if I'm considered a property owner. The condo association has their own rules requiring licensed electricians be used for all electrical work, so in the end the distinction is moot.