Can we say the following sentence
I have many foreigners as my classmates.
in the following form:
I have my classmates as many foreigners.
I have seen many people speaking the last-mentioned sentence.
I tried to check the matching meaning of "as" in the above context with the meaning given in Oxford. I think the following meaning matches this context.
PREPOSITION Used to refer to the function or character that someone or something has.
Can we swap other combinations in a similar way?