yes i believe so. The pump would be pumping water to a dead end. so either the valve will break to release the flow or a pipe fitting or pipe. My thought is if normal operating pressure is 20 psi then I’d configure the relief valve for like 25psi or 30psi. This would prevent anything from breaking at least.