Create product in Stripe with variable pricing

Most of the items that will be listed in my marketplace will have the option of being sold in portions (whole, half, quarter, eighth, etc).
Buyer goes to product page and selects whether they want whole, half, etc and I have the logic setup to change pricing and rename product fields - this is working fine through cart and checkout.
As I move into the Stripe integrations I wonder if this setup would cause any issues.
Any insights?

As I read into Stripe documentation I’m thinking I’d use custom_unit_amount ?