where could i put hidden command blocks?

I'm making a wireless redstone datapack. one of the main parts of the datapack is activating all the receivers with the same frequency as the transmitter. to do that, i can't simply use the tick function, as "check if the receiver has the same frequency as the transmitter" unfortunately isn't a thing, and i can't run a check for every 64 character string there is at once in every tick without the universe ending before reaching 5 ticks. my idea was creating a command block for every transmitter, using macros to set the frequency in the setblock command, but that would imply i need to put the command block somewhere. Now, where do i put it? is there any way i can put it somewhere hidden from the player, that doesn't override any already existing command blocks, and can work indefinitely for as many command blocks i want, even if i delete some and create new ones?
Continue to help post