Linux From Scratch (LFS)[1] is well known but doesn't get a lot of fanfare. It was designed as a learning tool, but the avenues for exploration are endless.
I've always felt Gentoo was a decent cross between LFS and a "real" distro like Debian - much of the install is similar to LFS with some hand-holding, and the end result is a system that has package management tools.
Absolutely! I recommend Gentoo in a separate thread below.
LFS has the topic of package management covered quite nicely I think[1]. They describe the contraints and approaches that might be possible, and what the real world solutions to those are (PRM, DEB, et al).
There have even been some package managers designed (or at least discussions of what the design would look like) for LFS explicitly over the years, but none seemed to have come to fruition, and I can't find any links to them.
1: https://www.linuxfromscratch.org/