Yep, it's totally legal at least in the US, as long as you pay taxes on it. If you don't, that's a problem in the eyes of the IRS but the buying of it from a person in S. America (or anywhere else) is legal. Bitcoin isn't illegal in the US as you probably know, and in fact there are US-based exchanges like Coinbase that are major dealers.