Yes I would think it's quite a straightforward procedure, just a matter of setting up a schedule of task to do at certain times. You would of course need the hardware as well to actually carry out the operations. then your PC acts as a switch to turn on/off as required.
I believe there are several project homes already set up to do this as a trial for the severely disabled. j.