It's problematic - the ideal business model that best matches the costs would probably be a combination (upfront payment, + ongoing subscription for maintenance patches), but I doubt anyone wants that (looks like the worst of all worlds to a user).
That's how B2B software was priced for decades. It's also how things like PlayStation+online work.