A neighbor of a friend of mine proposed this to her city council. She wanted people to have to get a permit to grow a garden in their own yard. In order to get the permit, your immediate neighbors would have to sign off on it.
That neighbor sounds like they have personal problem with a particular neighbor. They obviously want the right to tell that neighbor to get rid of their garden.
Instead of trying to use the local government to allow the neighbor to be a dick that anti-garden neighbor should move to a managed community or to a apartment/condo.