How to update the system only by compiling

Normally gentoo-based distros use binary packages to update the system, is there any way to update the system by compiling the binary packages?

Look in /etc/portage/make.conf/custom.
Uncomment the line (i.e., remove the leading #):

#FEATURES="${FEATURES} -getbinpkg"