Can I get captions for foreign-language videos or voice messages that don't have subtitles?

Go to “Settings” > “Accessibility” and turn on the "Live Caption" feature. It generates real-time captions for almost all audio.