That is what Mac App Store is for. However, all of these sandboxed environments come with their own sets of problems and make making especially these kind of tools quite difficult if not impossible.
> Apps are sandboxed and you know uninstall clears up traces of them.
Not in all versions of Android, if they write stuff on the SD card.
Re:Show HN: Swiss Army Knife for Mac OS X
by seanwilson on Friday July 15, 2016 @06:17PM
(#12104184)
They might be able to write some files that sit around but not code that runs on startup and spies on you for example.
Android and Chrome for example are really ahead of this in my opinion. Apps are sandboxed and you know uninstall clears up traces of them. Obviously it's not perfect but it's miles ahead of installation scripts and binary installers which can do anything they want with your system and might be hard to get rid of.