Apparently it is possible, as zgrep can search gzipped files.
~ $ xx /usr/portage/distfiles/xz-5.0.8.tar.gz
~ $ cd xz-5.0.8/
~/xz-5.0.8 $ ./configure --help | grep -A1 scripts
--disable-scripts do not install the scripts xzdiff, xzgrep, xzless,
xzmore, and their symlinks