Well Gaza is self governing (or was, until Oct 7th). Israel can't (couldn't) impose apartheid on Gaza any more than France imposes apartheid on Germany by being a separate country with borders.
West Bank is more complicated, but the same concept applies.
If Israel was motivated by racist or other tendencies to want to impose apartheid, they would start with the areas they have full control over. Why would they allow Arab voting if they are trying to impose apartheid?