In theory, yes.
It's really about how you set up your site.
You would need to have some type of server-side authentication (and then a redirect when the subscription is expired).
I would recommend against using Offline Caching in this case, since you want the subscription to be able to expire.
I generally recommend something like WishList Member to create a subscription-based paywall.