Yes, you can use the Unique ID widget. Please refer to this guide to know more: Adding Custom Unique IDs to your Form Submissions
After adding the widget, you need to make sure that it is included in the Autoresponder email.
Let us know if you need any help. Thank you.