Are you willing to use a function market place where people pay the developers a tiny amount every time they use the function (aws lambda, google/azure function, etc.)? What concerns do you have?
For example I want to add a payment gateway, I don't develop it myself and just use a function and pay a very very low price and the developer obviously makes money because of the economies of scale. Maybe a good side hustle for developers too.