I was thinking of running hot water to my washer and ive got a 20 gallon water heater that serves only my dishwasher. The washer is about 35 ft away from the water heater. If I 'T' off near the water heater with 1/2'' cpvc, would that supply enough hot water to the washer?

Just wondering if this is a good idea or not. I can run it off my main water heater but i really didnt want to. thanks