Is adding subscriber to group compatible with Stripe's pricing table?

Yes, but you need to make sure you have created the products from discourse not from stripe.

Creating the product from discourse first:

Once you have created the product in discourse you then will create a plan for it where you specify the price as well as the group:

Then from stripe when you create the pricing table, you must select products only created from discourse:

Then when a user subscribes they will be added to the chosen group: