That depends on the tax. So, no, all tax is not public. Nor are all obligations to pay a tax public. My obligations to pay any tax can only lawfully be levied by my consent, acceptance of a benefit, use of a product or contract, written or otherwise.

You cannot force me to pay or perform anything without my voluntary participation, consent or contract. Well, you can, but by using force, it is unlawful.