This has already been to court and ruled legal protected speech.
“Cole said city attorneys looked into the legality of flying flags with profanity on them. While laws regulate the display of campaign signs in people’s yards, the Constitutional right to free speech allows people to display whatever flags they like in front of their own homes, he said.”
“Tennessee is just one of at least five different states that have had recent disputes involving anti-Biden flags bearing profanity.”