Yes, glycine and magnesium glycinate can be taken together.
Magnesium glycinate contains glycine, so taking additional glycine alongside it is generally acceptable. They can be used at the same time, and there are no known issues with combining them in typical amounts.
As with any supplements, it’s important to follow recommended serving sizes and check with a healthcare professional if unsure.