First of all, every Android smartphone that came with Android 8 (Oreo) has to be treble-enabled and should be able to boot a GSI.

To check if your phone is compatible, use this app or check out the tutorial at XDA Developers