Yes, you can connect multiple SharePoint lists to a Gallery based on a dropdown selection
write this code in the item property dropdown
["Location 1", "Location 2", "Location 3", "Location 4", "Location 5"]
write this code in items of the gallery
Switch(
Dropdown1.Selected.Value,
"Location 1", CalendarLocation1,
"Location 2", CalendarLocation2,
"Location 3", CalendarLocation3,
"Location 4", CalendarLocation4,
"Location 5", CalendarLocation5
)
if it works the accept my issue and if not work then feel free to ask me