Hi @Vijay Kumar , welcome to Microsoft Q&A forum.
To answer your query, yes you can have shared runbook for different azure SQL databases and execute it like below(just a simple example and there are many ways to write the code):
However, these queries run one after the other in sequence. So please think through if you want to run them together or in sequence.
If answer helps, please select 'Accept Answer' as it could help other community members looking for similar queries.