No. Although medical and recreational marijuana are both legal in Massachusetts, you can't consume cannabis in public. That includes on public transportation, parks, schools, sidewalks, and other public places. Legal use is limited to your home or the homes of your friends.