Force membership sign-ups to register as user
When you create a Profile, in the Advanced Settings (at least for Drupal) there is an option to 'require user account creation'. So if you have this selected in the Profile, and then set that Profile to show on your Membership page then I would expect anyone completing the form to create a user account.