No, the democratic way would have been to have a vote(yes, with the citizenry, not somebody "elected") if you want to allow mass surveillance.
Like they do in Switzerland.
https://www.swissinfo.ch/eng/swiss-democracy/how-swiss-direc...
Petition the mayor, you can't be real.