One, nice job incorporating the cat into your Profile Pic.
Two.... Code is a four-letter word in more ways than one. If this was the 1950s, no one would care what you did with the inside of your property as far as putting up new walls. But 2020s is a very different story. I mean, you could put up those walls by yourself. But if they collapse on a guest, you'll be screwed. Or, more likely, if you ever call in an outside contractor to do work on or in your property, expect him to report you to the city. And likely being forced to tear down your work or have someone else do it to bring it up to "code."
For a decade, living in my apartment, had a dual light-switch the previous owners installed. It was great. Switch for the light, plus a built-in plug on top. One day, the switch stopped working. Called Building Maintenance to fix it. Guy takes one look and with a shocked look on his face, tells me I can't have that. "It's not up to code. Insurance won't pay up in the event of an electrical fire." If I owned a house, I'd very politely tell him to leave, and hire someone else. But, I don't. Had to get it changed to a standard switch with no plug-in outlet. So, if I ever need to plug something in to use, in the bathroom, I have to run an extension cable to another room in order to use it.
Absolutely idiotic! Most of the electrical codes that exist are BS nonsense. (Had a close friend a few years ago whose a Master Electrician, and got that bit of info. from him long before he moved away.) But you have a bunch of impotent little dictators who need to feel self-important. So unfortunately nowadays, not being up to code can cost you a great deal in terms of money and aggravation. A light-switch takes considerably less time and money to fix than interior walls.