If you want to give each player an option to choose between losing and not losing I think you can place 2 command blocks.
One with the gamerule true and one with false. And make the command so it only affects the closest player. If you just type in the gamerule it will set it the same for everyone.