Yes, when the Soviet Union collapsed Cuba went through a huge economic contraction including food shortages. Without virtually no international trade whatsoever, they had to become completely self-sufficient for all the goods and expertise they needed.
The United States subsidizes many government within its sphere of influence, too. In turn it also trades with them and gains significant sway over the economic affairs of those countries for the benefit of US markets. Cuba had none of this for the last 25 or so years.