I know this is a late reply but this type of functionality has been requested before and a member, @Krunal_Sheth, shared a doc that I think does what you want.
You can find it here: "Serious" Project Management in Coda? (Work Breakdown Structures) - #8 by Krunal_Sheth