A better solution IMO would be to set up a trust/charity that provides bail money. Using technology to solve problems is great: I just don't think this is a particularly good solution. And Government agencies are very very conservative: if you pilot a program and it fails to deliver, they will essentially no longer listen to you.