My city (Seattle) allows up to three fowl or certain kinds of livestock even in the fairly dense residential areas (the law is left over from many years ago, but backyard hens have become kinda fashionable in recent decades). But you can't keep a rooster, because it's too noisy. I suspect that keeping watch-fowl would have the same problem, neighbors would file noise complaints against you.