When the purpose is to define a list for discussion, yes, that's fine. Use the code formatting and use MANY WORDS that are not too offensive, don't use one word. Here's an example:
An appropriate automated word filter might contain keywords such as the following:
ass
pussy
faggot
shit
shithead
bugger
Similarly, this is not a good example:
pussy
[hehe, I got the word pussy in a post]
See the difference?
As brought up in the comments, there should never be a reasonable time to use a swearword in the post title itself. This is important on SE for many reasons, such as when we twitterify links, or when people are searching on google, etc. Also, it does not present the site as a professional resource. Hopefully that helps give better guidance.