How do you plan on making it peer to peer though and is this not already a thing in a lot of places?
I just checked and they seem to be called "savings and loans associations" in the US (in the UK they're often called building societies). They're essentially banks where your stake in the bank is determined by how much you have invested there.