Can your neighbor install an electric fence on your property line?

with your consent. but without it they cant