In Germany it might be easier to open a company remotely via Estonia
That way, AFAIK, the German government will determine that the "place of effective management" is Germany, and tax you also there.
Double taxation is not better.
No, it’s generally a pretty terrible idea. Germany applies taxes based on the place where a company is managed. If you live in Germany and remotely manage your Estonian company then you’re expected to pay your corporate and other company taxes in Germany. The overhead of managing the international situation is more complicated than opening a company in Germany to be honest
You should Google "Place of effective management"
A lot of the entrepreneurs I meet become tax & social insurance fraudsters as soon as I mention this, because they think they can setup a company somewhere but live in Spain, without paying or registering companies here.
This is pretty bad advice as your company will be dual resident with Germany having the right to tax .
That means you pay German taxes + double amount of compliance ( because you have to file everything in Germany+ Estonia ).