Whether youre local or direct hire or whatever,as Alexam said its the sole discretion of the employer/company to give or not to give you a NOC.

If you really dont want to continue working for them then its better that you look for a job outside Qatar as you will be banned for 2 yrs.

Think about it and the consequences it may lead you.

Goodluck