This is a strange take. If you had to "consent" to laws there would be utter chaos. The places where you can pick and choose which laws apply to you have no real laws. And all of those places are dangerous and destitute. That's why laws are decided by the majority, there will always be dissenters for every law out there. Some harmless, but others that want to pillage, burn things down, and worse.
There will always be laws that you don't like, unless there's no laws at all.