While swearing shouldn’t have an effect on SEO, it would affect CTR.
If your audience is comfortable with it, then I say go nuts. A/B test and then determine if the choice of harsh language works. Also, monitor conversions from your content. Yes, a swear word in the title might encourage users to click through but I think there might be a problem associated with professionalism. Therefore, they might choose to use the services of a less sweary organisation.