Ublue provides a really solid base template that makes it very easy to do stuff like this, all the heavy lifting of a distro is done by fedora, ublue adds the codecs and drivers and build system for updates.
Wouldn’t be unreasonable to make your own distro with it honestly.