Change user language via service/automation

Short question:

Is it possible to change the user language via an automation or call of a service?