Solved
If the Devs can structure the coding similar to https://www.w3schools.com/howto/howto_js_treeview.asp, then you should be able to perform a click on the name to expand the nodes.
It won't be possible to select the item.
Not sure why you have empty <span><span>. You need to speak to speak with your developers to resolve this.