Do you mean `apt-get source <package>`? https://www.cyberciti.biz/faq/how-to-get-source-code-of-pack...
Ubuntu et al, know where their sources come from after all, and how to build each package. I wonder if Arch or gentoo wouldn't be a better fit for this. I do have quite a bit of experience with yocto and buildroot, building distros for embedded systems.
I'm joking about the rich and bored, part. I should just jump in and do it.