If you wish, while you still have a fully functional MacOS available to you, you may want to make a Bootable USB-stick Installer and work from that device. It will contain all the Utilities as well as the Installer image needed.
Or you can use Internet Recovery, and download all from the Internet. Temp files will be stored in a dozen or more RAM disks, leaving the usual boot drive free to be modified.
How to create a bootable installer for macOS - Apple Support
If you erase and name your USB stick initially "MyVolume" you can cut and paste the Terminal commands from the article for direct use. Be sure to select the entire contents of the scrolling box.
Whatever method works for you, be sure NOT to use regular Recovery, because that Recovery partition is on the drive, which precludes making the changes you need.
About macOS Recovery - Apple Support
Make sure that Disk Utility is showing you Device-View, not the completely useless Volume-View. Select the drive by Hardware-name and choose ERASE. You want the default GUID partition Map and a MacOS HFS+ Extended (journaled) Volume. The Installer will convert that to Apple File System (APFS) during the Install.
Then Re-Install MacOS.
How to reinstall macOS - Apple Support
At first run, it brings up Setup Assistant, and invites you to create a new Userid, but DON'T. Instead, tell it to use the information on your backup drive, and it will give upon a screen like this:

Set up your new Mac - Apple Support
.