sure it can. and there are other nodes that will permit you to do it in line.
But here is how to block/allow based on time...
[{"id":"cd7521f5.10b9c","type":"inject","z":"a73202046ef1075d","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"0.5","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":650,"y":400,"wires":[["c1e35392.abf13"]]},{"id":"c7e7a1c1.45b11","type":"debug","z":"a73202046ef1075d","name":"--> to speakers -->","active":true,"tosidebar":false,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":990,"y":400,"wires":[]},{"id":"786630c0.b0ed4","type":"inject","z":"a73202046ef1075d","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"_block","payload":"true","payloadType":"bool","x":640,"y":320,"wires":[["c1e35392.abf13"]]},{"id":"f5819368.a7c6f","type":"inject","z":"a73202046ef1075d","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"_block","payload":"false","payloadType":"bool","x":650,"y":280,"wires":[["c1e35392.abf13"]]},{"id":"c1e35392.abf13","type":"function","z":"a73202046ef1075d","name":"gate","func":"var block = context.get(\"block\") || false;\nif (msg.topic == \"_block\") {\n block = msg.payload;\n context.set(\"block\", block);\n var stat = {\n fill: block ? \"red\" : \"green\",\n shape: block ? \"dot\": \"ring\",\n text: block ? \"Blocked\" : \"Unblocked\"\n }\n node.status(stat)\n return null;\n}\n\nif(block) return null; //halt flow\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":810,"y":400,"wires":[["c7e7a1c1.45b11"]]},{"id":"57a2fd76f90edf19","type":"cronplus","z":"a73202046ef1075d","name":"block/unblock schedule","outputField":"payload","timeZone":"","persistDynamic":false,"commandResponseMsgOutput":"output1","outputs":1,"options":[{"name":"At8pm","topic":"_block","payloadType":"bool","payload":"true","expressionType":"cron","expression":"0 0 20 * * ? *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"At6am","topic":"_block","payloadType":"bool","payload":"false","expressionType":"cron","expression":"0 0 6 * * ? *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}],"x":610,"y":220,"wires":[["c1e35392.abf13"]]}]