Is it possible to force to false or true the App.config transformation with arguments on Azure DevOps Pipeline?
Short answer, yes.

Azure Pipelines supports conditional steps. Find these under Control Options in any build step.

How you build your custom conditions will depend on what triggers your step to true/false. 

The screenshot has an example of how we control a build step based on a build variable (defined in the variables tab of the pipeline).