Does it impact your friendship? I'd guess you may resent them if they kept a lot of money, especially when you need the money. Or you may start avoiding them completely when you're aware that you didn't achieve a given goal, no? I guess for small amounts it may work but on the long run it seems like a trap.