Yes you can!
- Open the YouTube video that you want to watch.
- Make sure ‘Closed Captions: are turned on with the “CC” Icon
- On the bar at the top or bottom of the video screen, from the options to the right of the video’s timeline, click on the Settings icon

- Here, select the Subtitles/CC option

- Then click on Auto-translate which will then presentbyou with a list of languages

- Select the language that you want to change the subtitles to
e.g. for Ukrainian:

- The Result:

For further details (if needed) refer to "How to change the language of subtitles on YouTube (thewindowsclub.com)"
which can also show you:
-
How to add a different subtitle language to your YouTube video
-
How to customize subtitles on YouTube
-
Can YouTube automatically add subtitles?