Sure, if I am remembering correctly :)
There is a setting:
Site Admin ==> Grades ==> General Settings ==>Recover grades
The default is unchecked. Once you check it, you can re-enroll the users and any data will repopulate.
Our Totara version is 11.2, FYI.