It’s 100% deductible just like most other businesses expenses given you only pay taxes on net profits, if it weren’t tax deductible you would end up with a higher tax burden than what your business makes and therefore can pay.
Paying family/friends wages counts as a business expense to the company and taxable revenue to the employee. The business can also incur additional overheads for having employees like payroll taxes, super, etc.