That would've worked if they went into Israel on 10.7 and kidnapped a few Israelis and the Israelis responded with bombing, after which negotiations would've begun and probably ended in them getting their hostages back in exchange for hundreds of Palestinian prisoners.
As it stands today, the amount of damage done in Israel on 10.7 will result in the complete destruction of Hamas in Gaza followed by a probable Israeli occupation, so there likely won't be a meaningful or relevant Hamas in Gaza for new members to join.
Hamas did get a couple of things out of this. They got a temporary pause in the Israel-Saudi normalization deal, which had it been implemented, would've been bad business in terms of Arab support for Hamas; particularly as the Israelis are also normalizing relations with Arab states through the Abraham Accords (which included Bahrain, UAE, Morocco, and Sudan). They also did manage to bring the Palestinian issue back into the news, but not in any meaningful or productive way to their goals, particularly as they themselves are probably not going to exist for much longer.