In the story, Smeagol's exterior appearance was just a representation of his interior nature. The lust for money &/or power &/or fame can turn people rotten inside but of course they won't actually turn appearance like Smeagol (not necessarily, anyway....).
Most people misquote "money is the root of all evil" but it's really "the love of money is the root of all evil". And I suppose one could argue that "money" was a stand-in for other things one worships like power & fame.