You can tag specific products with custom product tags and allow serving them for specific tables by handling Order Added event. However you need to have some experience with SambaPOS Automation infrastructure to be able to setup such custom rules.
This tutorial demonstrates how to configure SambaPOS to disallow selling alcohol to minors. I’ll recommend you to review that to understand how to use custom tags and rules to disallow selling products. The different part is you’ll test table numbers instead of customer age.