In an ideal world where everyone could put their big boy pants on and laugh at themselves instead of turning everything even remotely offensive into a political argument, yes.
Obviously, the fundamental rules of humor apply. If your joke isn't funny, don't say it.