I guess in one sense you are doing that when you type into the search box. In other words, hitting either the WIN key or the
will put the focus in the search box so that you can just start typing away. When yo hit Enter, then automatically the top program is the list of programs shown above the search box is executed. Nearly always, there is only the one program choice.
If you type only cm, you get a couple of entries for the control panel, but when you type cmd, you get cmd.exe under the Programs category.