Possibly. The issue was narrower though. In Wash state, a federal court said the State could punish electors who chose not to vote for Trump, as the state law apportioned all electoral votes to the winner of the state popular vote, and in Colo a fed court said the State could not punish an elector. The SC just said, it's up to the state.I think it would be an unconstitutional violation of its own citizens' voting rights for a state to apportion its electoral votes based on how the citizens of other states voted, just as it would be to elect its legislature on that basis.
There will be more commentary here. There's link to the opinion at the top. In Chiafalo v. Washington, the justices held that a state may enforce an elector’s pledge to support their party’s nominee – and the state voters’ choice – for president in the Electoral College.