Register Drupal Commerce user before checkout completes
If you are wanting to do something during the checkout process, your best bet is to use a hook_form_alter() on the checkout forms and add your own submit handler. In this case you're looking at the commerce_order_account_pane. Remember that panes are fieldsets within a per-page form, so you'll want to look for the router page form and put your submit handler there.