The manipulation is going to be near impossible at your price point. Remember for each articulation you'll need a motor unless you build a flywheel assembly. That adds to the price really quick.
The programming, if you're just doing it for a single defined bathroom isn't that hard. It's when you get into 'all' bathrooms that the complexity increases exponentially.