Completely remove a program without uninstall app
There is no guaranteed way or app that will remove all the files used by a program unless the application comes with an uninstall program, even then do you want all documents you created with the program to be removed?

Leaving aside the documents, you would have to assume that the program was well written and wrote configuration and other files only to the places that Apple suggest. These include ~/Library/Application Support for various files but exactly where in that directory? Some use the application name, others the supplier. ~/Library/Preferences, again what is the file name? Also ~/Library/Caches for caches. Add to these possible use of the /Library versions of the folders.

OSX does not provide a registry of files used by an app.

However in iOS and now OSX sandboxes all the files will be under one directory and so can be removed - but note this might include any documents you created. Also, note that not all applications are or can be sandboxed.