Can I use shopify for a digital product subscription?

Hello,

I would like to build a store that features digital products only and a customer can get a subscription to the product. Inside the product (desktop app) I prompt the customer to login so that I can check the subscription status via a rest api?

Is shopify the right thing for this?

Which subscription app do I need that also features a rest api so that i can check the customers subscription status?

Does shopify fea