Not quite — the Hamas hatred for Jews is a religious hatred. They have no problems with people of Jewish origin if they convert to Sunni Islam.
The Nazi hatred for Jews was a racial hatred - they killed even people whose grandparents had converted.