Yes, you can limit Microsoft Teams access to chats only. Within the SharePoint admin center, you can configure whether you want guests to have access to your content.