Most of the ones I have seen, they don't make the gates heavy enough and the gate bends when the cows back up. This puts the rollers in a bind and nothing works right after that. I don't think the barn door tracks would hold up but they might if the door itself doesn't bow. The gate material is the key.
A cheap fool proof way to do one is to put some (4) 2 1/2" square tubing posts 3" apart where you want your gate. Two on each side of the chute. Weld a piece of 3" channel between them at ground height to form a track for the gate. The track needs to extend past the chute on the working side. Build your gate out of 1 7/8 OD standard pipe about 6" wider than your race. A little grease in the channel makes it slide a little easier but is really not needed.
The gate needs to have a solid surface to keep animals from sticking there head thru the bars. I used expanded metal to save on weight.
They aren't near as nice as one on rollers but they are maintenance free and cheap to build.