It should be possible to automatically remove users from a Discourse group when their WooCommerce membership has expired. To do that, you would use the remove_user_from_discourse_group function that I linked to.
I am not familiar enough with the WooCommerce Memberships & Subscriptions plugin to know what action hooks are called when a membership is created or cancelled. Possibly some other members of the Meta community will know to do it. You could also create a topic in our Marketplace category to find a developer to help with this.