No. It is the Supreme Court's job to determine whether or not a law is constitutional, not whether or not it's good or bad law.
Bad law? Absolutely. Bad laws are what we get when our fellow countrymen elect Democrats. But is it constitutional? Five Justices appear to believe it is.
The law wasn't put forth as a tax, it was put forth based on the interstate commerce clause and should have been struck down as such.
The SC simply bailed out the adminstration by giving it the justification for the law as a tax and then claimed it was constitutional.