Theoretically a SSH shell could sell subscriptions to a bunch of text-based games.
The overarching rule for the App Store when it comes to these things that the implementation details are completely irrelevant, the only thing that matters is what a user sees when they open the app.