Were there tombs in synagogues?
Even if there are tombs in ancient synagogues, it is still possible to excavate without opening any tomb.
I don’t know, but synagogues are considered holy sanctuaries and digging them up or digging around them would likely meet the same level of disapproval.