Check out LineageOS and have a look at the xda developer forum for more info.
And I did a quick search that listed a few good starting points… running a custom rom on your phone is quite liberating… but also a rabbit hole that is deeper than any black hole in the universe. Have fun and good luck!