I did it in Germany. It can be quite expansive and difficult. Nowadays, I would actually consider the E-Residency from Estonia. Super interesting initiative:
<a href="https://www.e-resident.gov.ee/" rel="nofollow">https://www.e-resident.gov.ee/</a>