I haven't heard of municipal light companies making it illegal to generate your own electricity or not connect your house to the grid, apart from general fit-for-occupancy laws. Similarly, the IRS doesn't have a cause of action if you deliberately earn less to pay less taxes (there is no "capitation" tax). So we can call those things consensual in a similar manner as signing up with a privately owned electric monopoly - all have narrow paths whereby you can technically go your own way.
In general for any given decree, one can always choose to to ignore it and bear specific consequences. This applies to de jure governments and de facto government alike. It takes a functioning market with many different options to diminish those consequences to the point where they can be accepted as some natural order rather than centralized diktats.