I would like to know how I could use membership2 to do what this addon does https://www.paidmembershipspro.com/add-ons/plus-add-ons/pmpro-network-multisite-membership/
Allow Members to choose a site name and title at checkout.
The site will be created for them after registering. If they cancel their membership or have it removed, the site will be deactivated. If they sign up for a membership again, the site will be reactivated.
I initially thought prosites would be an option but this response https://premium.wpmudev.org/forums/topic/using-membership2-with-prosites kills that idea.
However, you can definitely use both plugins together but both will have separate checkout and payment processing.