A customer would have a chance of getting code written for free provided that he/she is willing to put in the effort to understanding the result.
More people might be willing to get others to write code for them since there's a chance it would be done for free.
Moreover, such a business model would have the beneficial effect of enhancing familiarity with and appreciation of programming.