Filtering with checkbox

You can create custom states (yes/no) for each checkbox (if you don’t have a lot of them cause it will be hard to maintain if you do).
Checkbox is checked → custom state = yes
Checkbox unchecked → custom state = (empty)

In your repeating group’s data source add the state to constraints like:
yes/no field = custom state's value

So when checkbox is checked - you’ll get all matching items.
When checkbox is unchecked - checkbox value will be ignored and you’ll get all items (if you’ll check “ignore empty constraints”).

P.S. Another approach is using “daisy chain” filtering: