Is it legal to sell a used mattress in Massachusetts?

Don't sell a used mattress, sell a pillow for $200 and tell them you'll throw the bed in as a comfort return for $2. Then it's not illegal.