It depends on how the US company is used.


If you use the company to participate in the US economy and to serve US customers, this is possible and trouble-free.


However, if you use the company for tax optimization purposes, or even for the purpose of avoiding taxation in your country of residence, it may be risky if you do not comply with the necessary regulations.