This meme claims that.
Yes, they did - sort of. Due to the Soviets' lack of hard currency (rubles werent terribly useful outside the USSR), PepsiCo accepted submarines and ships to sell for scrap to allow them to repatriate earnings out of the USSR. PepsiCo wasnt particularly interested in them because they were warships, but because they were made of scrapable steel that was easily transported. Since the Soviets had a surplus of older warships, they offered PepsiCo a deal.
http://www.nytimes.com/1989/05/10/opinion/foreign-affairs-soviets-buy-american.html