McGwire was averaging just under 40 homers per year in the 3 seasons before he started using. Clean, he likely would have exceeded 400 homers and maybe reached 500. It's difficult to know, because he had quite a few injuries (although again, we don't know how much of that was caused by the drugs). Without hitting 500, though, he really wasn't that great of an overall player. He was a sub-replacement-level defensive player, and his impact was pretty much either a home run, walk, or strikeout for most of his career. It's possible, thought.
I don't know that the same can be said about Sosa. We don't know exactly when he started using, but in his first 5 full seasons, he averaged about 18 homers a year. The next 3, it jumped to 37. From '98 forward, it jumped to over 50. He was a below-average defender. Not sure I can see him as a Hall candidate if he'd stayed clean.