Yep...
In Brazil is illegal for any native species on public land, there is authorization for removal, however a process must be opened for each tree, not being viable for Bonsai purpose...
Legal on private property with permission for most species, but some endangered (or even close to endangered) species is illegal even on private property, requiring (again) opening a removal process that may, or may not be positive...
That doesn't apply for trees that were planted by the owner or with the owner conscent (that happens a lot with fructiferous trees) nor to your own trees' offspring...
To summarize, you MUST know your local law about it if you are interested on Yamadori, as laws differs from place to place...
And as people already said, assume it's illegal if you're not sure...