Overclocking on a Ryzen is possible, within moderation, but the gains aren't measured by strictly GHz. A Ryzen will start to reach a point of diminishing returns, not too far over its stock settings.
If you've heard the term 'what goes up, must come down', that applies. Ryzen boosts on 2 levels, single thread and multi-thread. At a certain point, determined by voltages, temps, workloads, a Ryzen reaches its peak performance. After that, it goes down, and single thread is the first to go.
So you can OC the snot out of a Ryzen, using Cinebench or Geekbench to achieve awesome multi-threaded scores, only to lose actual performance because single thread ability is now in the toilet.
It's a dance where both parts must balance. My Ryzen 3700x for instance, gets better performance with a 4.28GHz boost at 62°C than it does with a 4.4GHz locked core OC at 82°C. Even though the cpu is faster, the multi-threaded score higher, the single threaded takes too big a hit, and games use a Master Thread, with the rest being support threads, so single thread is also very important.
Ryzen are an efficiency engine. The more efficient you make them, the more effective they are, which means higher fps. Speed is only part of the equation. Ram speeds and timings, Fclock, voltages, temps, are also factors.