Yes, you can register a company in Australia as a foreigner. However, in order to register a company in Australia as a foreigner you must meet certain requirements, including the appointment of at least one Australian resident director and the application for an Australian business number.
You can read our guide on “Australia Company Formation as a Foreigner” for more details.