I don't think the ban on overnight anchoring has much to do with "sanitation or pollution", although that will probably be the excuse given for the ban.
The problem is the people who own expensive waterfront property don't want boats anchoring in front of their property all night...maybe extending to days, or a week or more. Don't need no
squatters partying til 2:00AM.
I ran across this problem out at
Menemsha Pond, Martha's Vineyard years ago. Martha's Vineyard has waterfront property owners who are arguably even more wealthy than some on the lake. They have a lot of clout with the local town management and constabulary. I once anchored in the wrong place..anchoring overnight was not prohibited at the time....I just anchored in the
wrong place. Half hour later I was escorted out of that nice little cove under threat of arrest by the young and very determined harbormaster. Lessons learned.

NB