Absolutely. Havana is a friendly city and is perfectly safe to explore it on your own. But just like anywhere else in the world, you should be cautious exploring Havana on your own at night.