Yes. Unless they are designated as a “witness”, they serve no liturgical function. If they are so designated, they need to be of sound mind to understand and testify at what they have witnessed, but do not have to be Catholic to do so.
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.