Assuming your goal is to gain knowledge about operating systems
Try arch but without kde, gnome, xfce, lxqt… make your own DE, based on a WM of your choice. That way you’ll gain lods of knowledge about how an OS interacts with the user and which applications do what.
After that, you would have to go for LFS or Tannenbaums Modern Operating Systems