Still, you are under no obligation to purchase anything from them.
Contractually, maybe, but practically, no. Given the codes, just try living within the limits of any city and installing any other source of power.