No! Xpert.ivy uses LDAP to connect to the AD. And LDAP is read-only, you cannot change anything in the AD. Therefore a call of the mentioned method would throw an exception in Ivy. This is the same for most method calls that set something for the user or role, e.g. for role assignments to users if the Ivy role is bound to a AD group.

If you want to do changes in the AD directly, please use the UI's provided by Windows or other specializes third party tools.