Dot leaders possible?

Things I have tried

Googling and searching this forum. Might not have the right name for it.

What I’m trying to do

I am wondering if its possible to have the functionality of dot leaders like in Word. Its usually something in a table of contents with the dot leaders going across the page to the page number. It keeps variable length columns nice and tidy.
2022-11-01 15_16_02-dot leaders - Google Search