i dont think it is illegal.before you will be hire there is company offer and it depends on the positon you apply.
once you are hire the company will shoulder all expenses to transfer your visit visa to a working visa.
if you are applying for a receptionist,secretary,the offer is QR 2500+1500 live out accommodation allowances.