Some of them, yes. Because they are the most powerful, the Ryzen 7 and Ryzen 9 are your best bets for running powerful, modern games at high graphical settings. In order of power, these are the 3700X, 3800X, 3900X, and 3950X. Following that is the Ryzen 5, the 3600X, which will perform well in gaming but may struggle with multitasking.
This goes without saying, but your other components, such as the graphics card and RAM, must also be up to the task of gaming.
Read More: What are some examples of bus topology in real life?