Yes, it is possible to perform the action from a function, but there is the coupling problem between who calls the action and who performs it.
Using the Command Pattern, who calls the action doesnât know who execute it, so if the âexecuterâ changes he never know that đ