Media library disallows spammy filenames?

No, WordPress doesn’t do this. You can check by looking at the source code.

What’s probably happening is the image is too large for WordPress to resize properly, or it’s been corrupted.

Keep in mind that there are breweries with websites powered by WordPress, and you can buy beer themes on markets