Thanks for posting your query on Microsoft Q&A platform.
We are not allowed to mention multiple databases in the linked server configuration. However we can parameterize the database name and pass different database name (in the same cluster) during run time.
Please let us know if you have further questions on it.
Thank you.