Hard to paint all the stock gurus the same way - certainly Cramer does exactly what you outline, dumping exactly what he's pumping on TV - his book even says so.
Most of the analysts have a position and honestly want their position to go up.
The occasional analyst is serious about their recommendation, and may have no shares of what they promote. Few.
Same as stockbrokers for me. I've had dozens, and almost none of them were worth anything. As Buffett says, a rising tide lifts all boats. And as per "Confessions of a Stock Operator", the guy looks over the brokers' yachts, and asks "where are all the clients' yachts?"