No, you cannot purchase a SIM card. You can only rent a SIM. It will be like 3$ per day. Data plans will cost another 3$ per day. You can rent the Sim at any ETECSA store. They have one at the airport.

Don't act like a tourist in Havana. You want to get a full, authentic Cuban experience. You want to explore the city like a local. Now you can! Learn all about Cuban culture and save money in Havana, with the Real Havana Guide, produced and published by Full Compass Escape Guides Inc.