Different approaches: Daniel Micay's https://grapheneos.org is a step in the direction you're looking for.
With Android 8 Google introduced Project Treble which kind of enforces that AOSP work out-of-the-box on every (!) Google Certified device. This has kick-started a popular project, phh-treble, by a senior XDA developer that I keep a keen eye on.
You could flash AOSP today on any (!) Google certified android phone that launched with Oreo+ with very few quirks, if any.
With Android 8 Google introduced Project Treble which kind of enforces that AOSP work out-of-the-box on every (!) Google Certified device. This has kick-started a popular project, phh-treble, by a senior XDA developer that I keep a keen eye on.
You could flash AOSP today on any (!) Google certified android phone that launched with Oreo+ with very few quirks, if any.
https://github.com/phhusson/treble_experimentations/wiki/Fre...