Convert path string to list of all paths

Is there any simple expression/filter magic that would allow me to convert a path string to a list of all the contained paths.

So:
“a/b/c/d”

would become:

[ “a”, “a/b” , “a/b/c” , “a/b/c/d” ]