Not sure I completely understand your need, but maybe this will help.
Here is how to turn another layer on and off with a checkbox expression control. I use this all the time to control dozens of things in mogrts for Premier.
In this example, I have an empty shape layer named Controllers that contains a checkbox. I have another shape layer called Square, and in its opacity, I have this:
var cbx=thisComp.layer(“Controllers”).effect(“Checkbox Control”)(“Checkbox”);
if(cbx>0) {100} else {0}
Hope this helps.