There is a strong case for making opportunity cost the central consideration. It is the only measure that captures what a decision genuinely costs. A government that looks at the money price of a project sees only what it pays out; a government that looks at opportunity cost sees what the country goes without, which is the real sacrifice and which the price often understates. It also forces alternatives to be compared explicitly rather than assumed away — asking "what is the best thing we are giving up?" is the only way to establish that a chosen option is actually the best available, and a government that never asks it can spend heavily on something worthwhile while a better use of the same resources goes unfunded. And because resources are scarce, minimising what is sacrificed for a given gain means more is achieved overall, which is precisely what the basic economic problem demands.
But opportunity cost is a poor guide on its own, for three reasons. First, much of it cannot be measured. The value of a forgone alternative depends on how much people would have valued it, and the loss of clean air, of a habitat, or of time spent with family has no price attached. A government that weighs only the costs it can quantify will systematically favour options whose sacrifices happen to be measurable, which is a bias rather than a principle.
Second, opportunity cost is silent about who bears it. A project whose total sacrifice is small may impose almost all of it on one region or one group, and a government has obligations to distribution that a cost comparison cannot express. Choosing the option with the lowest opportunity cost could mean consistently sacrificing the interests of whoever is least able to resist.
Third, some decisions are not really economic ones. Defence, the rule of law and the relief of a famine are obligations a government may have to meet whatever the sacrifice — and calculating the opportunity cost of feeding people during a famine tells you what it costs, not whether to do it.
My judgement is that opportunity cost should be the most important consideration in deciding how to achieve an objective, but not in deciding which objectives to pursue. Once a government has chosen its aim, comparing the sacrifices of the different routes to it is exactly the right test, and ignoring that comparison wastes resources for no gain. But the aims themselves rest on values — fairness, security, the weight given to future generations — and those come from outside economics, so opportunity cost cannot settle them.
That split also explains why the objection about unmeasurable costs is less damaging than it first appears. It is an argument for measuring opportunity cost more carefully, including its non-financial parts, rather than for setting the concept aside — and a government that abandoned it entirely would not escape opportunity cost, it would simply stop noticing the sacrifices it was making.