The answer is yes. In fact, some manufacturers have introduced precision seamless steel pipes in domestic water pipelines and added rust prevention treatment to improve the applicability of steel pipes in domestic water.
Although they are sometimes still used for transporting water, they have never been used for drinking water because corrosion in metals can mix rust with drinking water.
In general, residential water supply pipelines will use steel pipes or ductile iron pipes, while some high-end residential areas will use copper pipes because copper pipes have the effect of purifying water quality and can ensure that water quality is not polluted.