Drupal commerce auto login during checkout process
Commerce Checkout Login includes this functionality.

If you just want a rule action to automatically log a user in, then use simongeorge's wonderful sandbox. It provides a rule action that allows you to do just that.