That is like saying every single Intel CPU cant be overclocked because they were not designed to do so. There certainly is a limit ( It definitely cant do 5Ghz ), but I am willing bet a 20% is easily achievable with enough cooling.
The A17 is already on the TSMC 3nm process, while the 7950X is on TSMC 4nm. If anything, the A17 has the advantage here and the real question is, where the AMD chip would land if it was produced with the same technology.