Hi @Melissa_Hoppe, and welcome @Lis_Engelsman,
Yes - making a task dependent works the same way whether it’s a task or subtask. I discuss this in some more detail in this post above in this thread:
In addition, I really like the workaround posted just above by @Darbie_Pelachick - very handy, Darbie!
This is not possible with Asana. However, it is definitely possible using my Flowsana integration - both the Dynamic Duration and Auto-Adjust workflow types do exactly what you’re wanting.