Yes, you can pass an unconstitutional tax. You can even try and enforce it.
You may, however, get unexpected results.
If you make things unpleasant enough, businesses move or shut down...or their vendors cut them off. They refuse to build new or expand operations in your region.
Something about not being captives to be milked for cash. You can tax, but there exists a threshold beyond which the benefits of remaining or expanding in your jurisdiction are outweighed by your tax and regulatory practices.
Catch a clue, eh?