As long as you have a tax-collecting state, the tender used for taxing will keep value.
Don't be autistic. Yes, technically the value of these hyperinflating currencies is infinitesimally above zero. That does not count as "keeping value" when practically speaking it takes wheelbarrows full of currency notes to buy a loaf of bread.
So, no, you're wrong. History has repeatedly shown that simply having a government insist on taxation in the form of a currency they issue is an insufficient backstop for value in the face of loss of confidence in the populace.
People aren't stupid: they exit the currency in favor of other, more stable stores of value (other currencies, land, tampons, whatever), get paid in kind, or simply resort to barter. They convert into the worthless government currency later to pay taxes. They don't ride the sinking ship.