In many cases, yes—especially if recent backups are available. The ability to recover data depends on the severity of the attack, the quality of your backups, and how quickly the incident is addressed. This is one of the many reasons why regular automated backups are so important.