All depends on who and where the joke is told. If it’s around people you know that can take it as a joke then sure, around people that doesn’t like dark jokes then no.
Also on the internet I made a joke on Facebook the other day about the mass shootings and it seemed everyone but a few Americans liked it. You’ll always meet people that get offended easily and then on the other hand you’ll meet people that likes to make light of a situation.