How to prevent the /work folder from getting deleted using standard portage tools?

Add the FEATURES=keepwork to the /etc/portage/make.conf file. The full list of available make.conf FEATURES also described in the man files:

man make.conf