Passing arguments from database? Not sure what to call this

Hi everyone. i want to be able to do this: - pass args into a plugin but these args
are read from the database.

This way, I could have different settings (like the path it was saved)
per attachment, and other very useful things.

Is it possible?