I believe this isn't the case because Level is also a factor in damage calculation, correct? So 5 levels would mean a ~20% addition in both bulk and damage.
For example, a level 50 Aerodactyl using HP Rock against another level 50 Aerodactyl:
Aerodactyl Hidden Power Rock vs. Aerodactyl: 108-128...