>That doesn't exist - anywhere! You need to follow the rules and the only way to make sure someone is doing things properly (or at least know how to) is either to have them be certified in what they do or have someone who is certified check their work.
Dude, trust me.
Yes there are building and electrical codes. Many are written in blood. The perception that there is no implicit freedom to be found anywhere is unique to our internet worked world where you can pull the tail of the invisible cat and have it yowl at the inspector in short order.
What you are probably struggling with, is the concept of the Social Contract's primacy. There are those that believe what is allowed starts with a yes/no from the biggest baddest enforcer of their idea of the Social Contract. I call these folks Hobbesian. Then there are those who see the Social Contract itself as something subject to the independent acceptance in whole or in part by independent, free-thinking agents. I call these folks Locke-ian. They are famous for the intellectual fireworks that get set off if you lock them in a room together to settle their differences.
The reality is, the truth is something more akin to: let's implement paperwork and objective inspections so people have a safe recourse, but leave the door open for people to do what they want with things they own, and only argue about the more philosophical notes when there is a clear and present breach of decorum by one party or another.
This arrangement tends to keep both parties reasonably happy.