Estonia (heck, Israel too!) is really good at this - the problem is local tax law. Jurisdictions almost uniformly have rules and regulations such that decision making is deemed to happen in the jurisdiction of residence and declaration. This is more or less a worldwide phenomenon.
I predict the country that understands the modern internet-enabled venture and creates laws specifically for them will benefit a great deal in the future. I'm told that Estonia is on that path, but I haven't studied it enough to affirm it