Can I make a hierarchical table of contents ebook?

I know you can when creating it in Scrivener, but I want to know if when the ebook is generated if there is a way to generate a hierarchical output table of contents. Anyone know if that’s possible?

ETA: For clarification
Rather than the TOC looking like this
Title
Subtitle
Subtitle
Subsubtitle

I’d like it to look like this
Title
• • Subtitle
• • Subtitle
○ ○ ○ ○Subsubtitle

but indented rather than the bullets

ETA: for clarity, hopefully

Is this not doable?