Yes, if you want an ID after submit, then you should be good to go. If you need to give the record an ID before submitting the form, then you will have some complex issues. (too complex for me, anyway) I've seen posts on using a SQL table to do that.
My example uses a workflow to set a value in a form ...