Access serverless functions from plugin

I am trying to create a serverless plugin which can do some common operations which were already there in serverless framework. I want to reuse these functions in my plugin.
Is there a way to access some serverless functions like invoke, deploy, create, login etc from another plugin.