Do you mean something like Kiva or Zidisha? They're quite popular, but there's a very real chance that the borrower can default on your investment. Not a huge deal though, because if you're micro-lending then this is expected. I don't think the interest rates are good either.
Doing it for charitable reasons is fine, but it's not a great way to make money IMO.