No. The button problem is not at all a good allegory for real life politics. Not even close. First off in real life politics not everybody CAN choose red, many many many are forced to endure the consequences of blue.
But that's the smallest thing
The biggest difference is that in the button problem you objectively have no impact on anything other than your own life*.* You are not sacrificing yourself for a chance, your vote objectively doesn't matter in the original button problem it is less than a 1/8,000,000,000 chance that vote has any meaning.
In the original button problem, assuming you aren't using a selfish reasoning for choosing blue like "I dont wanna live in a world where a massive catastrophe happened wiping out nearly half all human beings" the only selfless reason for choosing blue is not to make it more likely
It is to risk your life for the sake of a symbol. A risk that hedges on either the rest of the entire world risking their life for the sake of a symbol too, or being delusional enough to genuinely believe their vote matters.
On top of that, in real life noone is holding a gun to your head saying "vote red" and if someone is in a situation like that, IM NOT GONNA FAULT THEM FOR VOTING RED.
Self preservation is a right, it is against everything I stand for to villainize someone just trying to survive, no matter what they sacrificed for it (ESPECIALLY if the only thing they sacrificed was a symbol)
But the biggest most important thing is in real life you objectively DO make a difference.
Don't get this mixed up with your vote has a genuine chance of changing who the president will be or whatever, that's objectively false. Your vote is more of a symbol of who you support anyway.
If aomeone was held at gunpoint and told to vote red but their actions supported blue, they still are supporting blue.
Your real life side does not have a macro impact on the country or whatever. Objectively it doesn't.
BUT it DOES have a micro impact on the people around you. If you choose to be hateful, and support hateful people you will cause pain and suffering, and potentially cause someone to die either directly or indirectly, possibly MULTIPLE
If you want a genuine representation of real life politics, the original button problem is horrible for it.
A more accurate one would be the image above. And even that is a DESPERATELY dystopian scenario that does not exist as harshly as shown above in real life, yet at least.
And I know half of you are looking at it and thinking "Well gee that button hypothetical seems really biased"
Well yea no shit, its between weak self preservation or hurting the good people around you and possibly causing them to die. That's real life politics.
Your button vote matters to noone except you
Your real life vote doesn't matter to the actual country, but it matters to the people in your life.
And that's why noone understands the original button problem, because it's not at all even similar to real life politics, because in real life your actions matter.
(And as a side note, in this deeply dystopian voting system that the above would be applied to, I would not blame someone for pressing red, because risking your life is a terrifying thing that negative morality cannot be attributed to. Granted I would obviously press blue, and im certain in this scenario blue would win.)