Is there a way to allow a customer to create an account during the checkout process?

This can be achievable by enabling the “register on checkout” from woocommerce settings.