1. In my opinion, please review your requirement, why would you want to change the privilege dynmically? Are there run time data/events which trigger this change?
2. In this case you can add the privilege to the role but also add a Access When rule (or Access Deny) which takes into consideration runtime data to evaluate if true or false thereby enabling or disabling the privilege for that role.