Good idea. I think GrapheneOS won't work with that as they're focused on the Google Pixel devices. But you could have a look at the LineageOS compatibility list. Just the manufacturer is a bit unspecific. But you can look up the exact model in that list.
I can't really comment on all of the other Android variants. There are so much of them and I'm not up to date anymore.