It sounds like a good idea. But it would not meet the FSF definition of Free Software, nor the OSI definition of Open Source. So you wouldn't be able to include it in many open source software packages.
"malware"/"spyware" is complicated. Does Ubuntu count as spyware? They have some integration with Amazon web shops. Does Debian? It has a "popularity contest" for packages ( http://popcon.debian.org/ ).