Is it possible to hide Add to Cart button if the inquiry form is enabled for the product?

Is it possible to hide Add to Cart button if the inquiry form is enabled for the product?

Yes, set the Hide Add to Cart to Yes under the Permissions tab.