Nope, printed money is fine too. I used to live in Ithaca, NY, which had a fairly successful printed currency called the "Ithaca Hour": https://en.wikipedia.org/wiki/Ithaca_Hours
The only possibly illegal thing is you must settle your debts for state currency if your debtors request it.
It's to ensure company scrip remains suitably illegal.