If your friends and family really dig deep to pay your tuition to hacker bootcamp, even if you take to code like a duck to water and get into some really interesting projects, you still owe them, until you manage to dig deep in a roughly equivalent way for each of them. If you do really get a good start, that's some payoff for them (they bought you a big present, and it noticeably improved your life!), but you still owe them.
And if you find yourself really not taking to coding -- you just don't have the eye for detail, your brain keeps fumbling the logic; there's too much meaningless trivia to navigate... well, now you're discouraged, you've wasted a big chunk of time, the nice present they bought you (at your request) turned out to be a bad one, AND you still owe them.
Agreed on the general point to not let the perfect be the enemy of the good, though, on principal!
There are certainly some cases where this'll work nicely with few risks (e.g., a non-hacker with a large audience already who decides they want to give hacking a try -- or someone who's poor but has a lot of wealthy family & friends); and there are probably other interesting ideas with tweaks to the model -- funding in a pool with awards? I'm not sure, but best of luck in any case.