You can get a permit if you use an unlicensed contractor by stating that you are owner builder on the plan check paper work.
There is some language in there about workman’s comp and stuff for workers under the owner I think , been a while maybe some language about liability on other issues too.
The builder of record is going to be liable for construction defects going forward. I am not sure how long for a remodel maybe ten years for some components like slab or roof, like I said it’s all getting vague now …probably isn’t a problem very often.
Many if not most licensed contractors use unlicensed sub- contractors at times. On a lot of jobs the owner is in on it for a better price…but make sure you are not in on it for a higher price of all licensed bonded and insured subs. Don’t know who is on the hook for worker’s comp or liability in these cases. Just stuff to think about.