Yep, The trick is to set rankdir=BT (bottom-to-top) (rankdir | Graphviz)
Like so:
digraph B{
rankdir=BT // this sets things to bottom-up (bottom top) (https://graphviz.org/docs/attrs/rankdir/)
a -> {b c}
b -> {d e}
e -> {f g}
g-> {h i}
c -> {j k}
k -> {l m}
}
Giving: