Sure thing. You can do that with WooCommerce a club membership extension. Just note if you’d like to install plugins on our managed hosting service, you will need our Business plan, because outside plugins and themes add complexity to our support and maintenance. https://wordpress.com/business
This service includes SSL, direct WordPress support, maintenance, security, and many other features that tend to cost extra with other providers.