It certainly does. 🙂 I usually suggest that it lends itself to easier organization when the code that's specific to something is visible in its database entry, rather than you need to check your plugin files for hard-coded IDs to see what it does.
But you can absolutely make it work either way.