Yes. Craft plugins can be added to a project like any other Composer dependency. If you’re writing a single-use plugin for a specific project, however, you may want to consider making it a module instead. See Modules vs. Plugins for more on the difference between the two.