Sure, it's possible to automate to that point (and it can be fairly inexpensive if you DIY). You'll need to know frame/finish carpentry, household plumbing, 120VAC~240VAC wiring, and how to build/program a PLC. If you had this knowledge up-front, you probably wouldn't be asking the question...