However, they certainly could be raised to the point of excluding most people from purchase of guns and or ammo which is a back door method of prohibiting your rights by making them very exclusive.
Been done before - poll tax. Took a long time to overturn.
IMO, unless the tax became obviously
prohibitive any challenge wouldn't go very far.