I don't know about other Leagues, OP, but it's never happened in the English top flight.
Coming closest to achieving the feat were Portsmouth in 49-50, and Derby County in 74-75. Both teams topped the table for the first time after game 39 of 42. Honourable mentions go to Liverpool in 1900-01...