Ya, but I don't think anyone has done the work to figure out what ports Teams uses. Also, it might be that malware traverses those ports too. Or, Microsoft adds a port without telling anyone.
I have a ticket with Microsoft and they are refusing tell me what ports and protocols their app uses.