If I understand correctly you want compartments more or less. Or separate small aquariums linked together for specific rolls. Overflow drain, filter mat/roller, equipment, pass through to fuge, return? Something like that, right?
Anyway there are modular sumps and it is a nice idea. DIY I would second what
@Dom noted and build a cradle or frame or brace so that they don't move. Pressure or torque will shatter the class and you will have a pretty big mess on your hands.
Also make sure you have redundancy built in to handle flow should one line get backed up. You noted refugium and/or macro algae. They can block intakes or screens as can critters such has urchins, small snails, and more. Make sure you test once everything is running, shut off power, use a ping pong ball, whatever but test it such that you know you won't have more water than the sump can handle with power off. Then do another test with one line blocked...
Also add high quality unions inbetween so you can disconnect with ease for maintenance or swap.
Edit: Also 3 is a better number for this. Overflow drain / filter media / skimmer / heater-> refugium -> return pump / dosing. Something or a combination depending on equipment size.