I suppose it is legal, depending on your country. Big MLM companies like Herbalife and Eqology use this same business model, but they might take advantage of loopholes in the laws of the countries...