It’s impossible to compare across eras, really. Advocates of the likes of Pele and Maradona rightly point out that modern sport science keeps modern players much fitter, that players are more protected from fouls (though you might be forgiven for not thinking that last night lol), pitches are better, and ball and boot technology has advanced to the point where the game can be played much faster.
On the other hand I think it’s fair to say that the fitness aspect also applies to the defenders that the top players have to score against, and that the game is overall much more professional all round - the gains a ‘true professional’ training to the max and living cleanly might have found in the 60s, 70s and 80s are much more marginal now, because most players don’t smoke and an awful lot don’t drink (especially during the season) now. The edge is harder to find. Training is also much more in depth and complex, as well as frankly the organisation of defences just being much better. Go and watch a show like Premier League Years and some of the defending you’ll see from the 90s and noughties even in the PL is frankly amateurish compared even to the poorer PL teams now, in terms of how the defenders move, their positioning, and the space they give even the top players. Though there are always visionaries in every era I think the basic standard of coaching is orders of magnitude better nowadays.
Ultimately I think the truly elite players - Messi, Ronaldo, Pele, Maradona etc - would be successful in any era they played in. Whether those a few rungs down, like a Sonny, would be as successful 60 years ago is up for debate, though.