Do you still want the camera to work and record images onto eg an on site DVR even though it's not on the net?
If no, and the camera gets its power from the Ethernet cable via a poe injector, then sure just put one of those rotary dial timers where you push plastic segments in/out in between...