Change status from server

Is it possible to change a user’s status from a server plugin, The presence plugin allows to query any user’s presence but does not allow a POST request to change the status? I want to make changes to plugin so that it supports changing status from server.

Thank you.