That's not very funny, and this reframing of nazis (national socialists) as left-wing because they have "socialist" in their name is an ongoing effort by right-wing populists and extremists.
It is hard to tell from your joke whether you also mean to propagate that narrative.