There is a Tree View widget on the marketplace called “D3TreeView” or on GitHub which is more or less what you probably want. Never configured it myself though. You would probably need to do a lot of css though and smart domain modeling.
Maybe you can download it and try it or find out how to create a hierarchy tree yourself by looking at it. Hope this helped a bit.
You could solve this
Don't know your skills outside Mendix. But my advise is when you are a starter with Mendix. Please first use the standards in MEndix, understand the concept in Mendix and then go next level like this.