Membership 2 pro and wooocomerce

Is there a way to use Membership 2 pro with woocomerce? So the visitor buy the membership package as a woocomerce product?