Would it work? Definitely not. Would it brick your phone? Maybe, if you try hard enough.
If you want GrapheneOS, you're going to need a supported Pixel. You could get a used one, or from a reseller, if you just want to avoid transacting with Google.
If you're unwilling to use any device made by Google, then you'll need to find a different OS.