I’m aware of a guy starting a small hog farm out of spite. The size of it, it can only have been costing him money and time and property value. There’s zero chance it was going to annoy his neighbors enough to let him do what he wanted instead (zone it as some kind of dump, iirc) because that would definitely be worse for them, so all this effort and cost was driven by pure spite.
He ran it for years.