Yes, but a pressure cooker is more effective at sterilization and significantly reduces the risk of contamination.