You can, but with heavy modification. Currently no other devices than Google Pixels have the security features that GrapheneOS has as a prerequisite for support. If you strip out all that device specific code, you may be able to get it working on a generic Android, but it won't be easy and you will lose a lot of features.