Select databases from query

Is it possible to create a Backup job that selects databases from a query?
I have an SQL Server that has lots of databases from different clients. For each client I have another Database that has reference to every database for that client.

Hi Jose,

Sorry, but there is no way to do it.