It can be done with current technology. Simple robot like cleaning robots but few more sensors: microphone and hit sensor. Also with dynamic like R2D2. All that we connect into a neural network and add core pleasure and bad state processing. I have no idea what will be in result but this creature will learn and react on your actions obviously.