Self-Enabling plugin on install

Is there a way to make a plugin enable itself when deployed?