Can a plugin be used to contain all custom functions to extend other plugins

If your plugin customise functionaity of other plugins through hooks (actions and filters) the answer is Yes.