Iterative functions without nesting functions

Is there a way it iterate across a function n times without nesting the function? Say, iterating across z^2+c without writing down something like
f(z)=z^2+c
f(f(f(f(f(f(z))))))?

I saw this on the desmos subreddit.