Yes, you can enter the famous basilica free of charge, but you will need to buy tickets if you want to visit the museum, treasury, and Pala d’Oro.