That's basically the method though the 20 to 30 volts drop might have been shared to repeaters in clusters of 3 or 4 at a time. Modern kit using regenerator/laser amplifiers may be able to manage on less voltage, plus the repeater spacing on fibre links can be an order or two greater than the 2Km spacing that was once used on undersea co-axial cables using analogue RF amplifiers back in the days of FDM. The shorter undersea fibre optic routes of 100Km or so can manage without resorting to undersea repeaters.
On longer, trans-oceanic routes measuring several thousand kilometres, each end of the cable would be fed with an HT DC voltage measuring several Kilovolts! (7KV at each end of the TAT cables being laid down in the late 70s / early 80s afair - positive one end and negative the other to provide a total of 14Kv over co-axial cable that didn't need to be rated for the full 14Kv).