Manipulating Specific Objects in Environment with a GUI

Can I use an interface to manipulate an object within the environment? like for example if I have this tablet with me in the game where commands can be activated. When I press these commands the objects which is linked to that command is manipulated. and further more, can I use an array of these commands in succession like, for example, to solve a puzzle?