Doing that on a nation state level means betting your economy on the algorithm always working correctly.
You also have to be resilient to attacks on your currency and an algorithm gives your oppponent certainty on how you will react. You need human control at some point.