I would be concerned putting pipe between the pump and the tank. Although your intentions to cool the air would be good, my concern would be the pulsation on the piping in this part of the system. As the compressor cylinder pushes air out in pulses it will cause the pipe to pulse and possible vibrate. One of the purposes of the tank is to dampen the pulsations (and to hold air to keep the compressor from running all the time).