Yes, ATMs (known locally as Cajeros) work in major tourist areas like Havana, Varadero and Trinidad. However they are few and far between and you will often find that they have run out of cash, or power. You must always bring enough cash with you to Cuba to cover your spending locally as you cannot rely on the local ATMs.