Yes, you can use copper pipes for gas lines, but they must be type K or L and should not be used in areas where the gas contains high sulfur content, as it can corrode the copper.