So, in principle no, it is really frustrating for the player to have their action be meaningless.
However, there are ways and means. As GM you can have multiple choices eventually arrive at the same destination, so long as the path to get there has been meaningfully influenced by the players choices. Done well, the result will follow logically from the choice and they may nit even realise they could have gotten there down another path.

So basically don't have option a and option b both lead to result c, but if a and be lead to c and d, and then c and d lead to e and f, which both lead to g, that works.

Maybe you have a set piece planned, if the players don't stop the villain it will happen right away, if not, they force the villain onto the offensive, which leads to basically the same thing, but in a different context, and at a later time.
So long as in their minds they can draw a clear path from their actions to the results, and see causality there then they will have agency. Even if things are being rearramged a bit behind the scenes so that the GM still makes use of that stuff they prepped!