Minecraft remote control?

Gu
1

Can I build a mechanism where I can remotely control a redstone signal? So e.g. Have any item in hand and click it and a redstone signal is sent out e.g. By a command block. Is that possible?

Ta

You can do it by hand, but not with buttons or lightly