If you want to automatically create affiliate account for your WooCommerce customers then use this addon plugin.
Step 1 (Install the Integration Addon Plugin)
Download and Install the auto create affiliate account for WooCommerce addon.
Step 2 (Keep it Active)
Keep this addon active. When you customers create an account via WooCommerce, this addon will automatically create an affiliate account for them (with the same details).