You may elect to make it a DIY project, but you
a) might require a local jurisdiction electrical permit, and
b) most likely require an electrical inspection to meet local building codes regardless.
That is why hiring a licensed electrician is the preferred pathway here.
without an inspection to satisfy local building code terms for a DIY job, or alternatively hiring a licensed electrician , you are at high risk of violating your home insurance policy and leave yourself at high risk of your insurer refusing coverage in case of an event .