NFC tags to execute commands

I would like to know if there is such a possibility to create NFC tag and then use it to execute complex commands on a tablet, for example opening a specific application or changing a certain system setting.

Is this kind of project possible to accomplish?