Unless you're one of the groups targeted by the Holocaust, not really. It comes across as making light of other people's suffering. Should white people make jokes trivializing slavery?
Jokes mocking nazis, on the other hand, are fun no matter who tells them.