That depends on individual circumstances. It is your responsibility to ensure you are working with in the limits of the law. Sham contracting is illegal.
Please seek advice from your accountant.
Here is an employee/contractor decision tool kit form the ATO to help you decide.
(Last Updated on September 1, 2022)