Sure you can, it's easy at a small scale[1], but at a certain scale, but you have to expend effort in learning Brazilian labor law, how to run background checks in Brazil and the rest of it and a bunch of factors that add friction. This is the whole silicon valley salaries vs rest of country, writ global.
1. i.e. skirt the laws while relying on mutually-benefiting aspects of the arrangement, assuming a 1-in-a-100 dispute won't happen and/or the tax authorities don't turn their gaze on your operation.