Over half the Palestinians that are alive today were not alive then. Even then; less than half the voters voted for Hamas- they used a plurality system and Hamas had ~40% of the votes.
Further, Hamas was given/allowed funding by Israeli leaders (Netanyahu in particular saw to it) specifically to destabilize any Palestinian state.
So, no. I wouldn’t describe the government in Gaza as “democratic”; when the last election in Israel was about a prior to Oct 7’s attack.