How can I sweep multi-sections along a single curve?

I have different shapes of sections. Can I sweep them along a single curve with grasshopper? Thanks!
Like this:
image

Yes, like so:

sweep.gh (3.8 KB)