Yeah I'm sure it would ok to right out a word for muslims or homosexuals on a sheet of paper and have students stomp on it to see the reactions because it encourages critical thinking.
The way the assignment is worded is to have the kids write the word on a paper, then you tell them to stomp on the paper, not the person. He didn't say "Stomp on Jesus", he said, "Stomp on the paper." So yes, it would be OK to write anything on that and say it in the correct way. It would encourage critical thinking, something many do not do.