[F]ull power and authority are hereby given and granted to the said general court*, from time to time, to make, ordain, and establish, all manner of wholesome and reasonable orders, laws, statutes, and ordinances, directions and instructions, either with penalties or without;
*: Note that the "general court," in the terminology of the Massachusetts Constitution, refers to the legislature, not the judiciary.
And nowhere in that is the sense that the state can force individual citizens to purchase a service if they want to LIVE in the state.