While not technically illegal, (here and now) the article mentions several historical instances of the creations of such systems and their subsequent abolitions by central banks and governments.
In any case, the tax issue is a hairy problem that has to be dealt with whenever these systems are set up. They will not be allowed to exist tax free.