For ones serving municipalities or communities, sure. My electric company is a co-op, but it is also not a dedicated reseller as it generates most of its power and usually has surplus it sells to PG&E.
With an HOA, the very land your home is built on has this sort of lien via a “special property assessment” and you are subject to their policy or risk having your home taken in a 100% legal way. My electric company cannot do that to me.
If I don’t pay my property taxes the local municipality takes my house too, and they spend money on all kinds of stuff that doesn’t benefit me directly or perhaps at all.