Someone else had the exact same question in the legal forum and on NES.
Anyone in MA can possess an upper and they don't need any license unless they also possess a lower. They can also modify said upper to be MA-compliant, or mount it on a pre-ban lower. All legal.