Hi C5FB2,
ok, here is yet another solution that will work, also with a trick:
Create two TOC styles for two purposes:
1. TOC style with page numbers only for the first TOC.
2. TOC style without page numbers for the second TOC.
You can create two text frames with two TOCs with the two TOC styles.
Arrange the two text frames side by side:


The left TOC contains both, the page numbers and the contents of the headlines as well. However, the headlines are hidden with a GREP style. The alignment of the paragraphs is Right Aligned.
This time the character style that is hiding the headlines' contents is done a bit different:
Fill color [None], character scaling: 1%, size: 0.1 Pt. That's pretty small and should "condense" the not visible text to such a small amount, that it is hardly visible, that behind every page number there is indeed some white space:

The TOC style is using the special white space character 1/24 of an EM space.
The GREP style is using that delimiter character to identfy the point where all text after this character will be formatted with the character style "Invisible-NoFill".
TOC style for the left TOC where the title of the TOC is just a blank character:

TOC style for the right TOC is simply leaving out the page numbers ("Keine Seitenzahl" with my German InDesign):

FWIW: All the page numbers are done with option: "1,2,3 …"
Regards,
Uwe Laubender
( ACP )