A Gravity train (https://en.wikipedia.org/wiki/Gravity_train) goes through a tunnel inside a planet that connects point A with point B. On Earth, the train would not gain enough impulse to reach the end point due to the loss of energy mainly by friction.
However, I have read some people suggest that this could be feasible in smaller planets like the Mars. Is this true? Could the train reach the end point of the route in a smaller planet (even if it has an atmosphere) somehow?