You can do that by sharing sound from your computer in a Teams meeting.
To share sound from your computer, select Share content in your meeting controls and then Include computer sound—it's the switch on the top left of your sharing options.
For more details, please refer to this article: https://support.microsoft.com/en-us/office/share-sound-from-your-computer-in-a-teams-meeting-or-live-event-dddede9f-e3d0-4330-873a-fa061a0d8e3b
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
The correct tag for teams-linux is office-teams-linux-itpro. If you use the wrong tag, we are hard to find your case. Thanks for your understanding.