i guess ur friend is working with secondment which is legal to the labour law and immigration in Qatar.the only difference is that, it must be renewed every 6 months. so to answer ur question, it's possible under this secondment law to work without signing any contract. beside, he is free to leave any time he wishes.

best regards
charles