This is a good example. Most spaces, (virtually all spaces) will consider that a form of vandalism. A similar but even more extreme example is a spam bot posting thousands of links to scam websites.
Some might be fine with that, and that's up to each community. Some security honeypot-style communities probably benefit from allowing spam, for example.