You may be in interested in the domain of litigation finance then: https://techcrunch.com/2019/09/17/this-young-litigation-fina...
Not quite the same thing as what you mentioned, but by creating financing that evaluates cases by their potential for a payoff, this should seed the kind of marketplace you mentioned.