Talk about putting all of your eggs in one basket. I'd have a hard time believing anyone would suggest that you do this, as the risk for things going bad if the company fails is double. You lose income as the company stagnates (or worse get laid off) AND you lose money as the company's stock drops.
To some extent people have been doing it, which is behind the massive stock price gains from FAANGs. Only benefits you if you did it before everybody else, though, otherwise prices get bid up so high that you don't get a decent number of shares.
Unless the company is paying dividends (and the distribution is proportional to earnings), we can't assume that a company "hoarding profits" would have a correlated stock price.