Their MOAs are different, but what they do is precisely the same…produce spike proteins that stimulate the production of protective antibodies.
Mix and match isn’t a problem.