Mattress stitch w/garter border?

Just wondering if you can seam a sweater using the mattress stitch if you’ve created a 5st garter border?

Yes–you pick up the lower part of the purl bump on one side and the upper part on the other side.