YES, anyone over the age of 18 can create a corporation, be part of it, be a shareholder or be part of its board of directors.
A foreigner can own 100% of the shares of a company.
It is an easy, short and cheap procedure that is carried out by a lawyer and notary.
Currently all companies pay an annual tax, depending on whether the company is active or not, that tax may vary