Rape jokes should not be told at work, period.
Agree, a workplace is not a good place to tell these. In fact there might not be a good place for it.
Also, if we go further down the rabbit hole and say that rape jokes promote rape, then we can start saying that video games promote violence, etc...
My concern is to have someone getting fired or prosecuted for a joke. Getting his career broken because of a stupid joke.
You can feel disgusted or even violated, but with the counter actions you can do more damage to the other person compared to the one you received.