yes, of course, You can do anything you liike using custom apps. Someone has already done something with mysql lookups (search on here). For limited look up of "expected" numbers, it's usually sufficient just to load the numbers/names into each phone directory. If you want to do global lookupos through external directories then you'll probably need to install the application you refer to in your post and call it from an app.
Kind Regards