GPT-GPT encoder decoder

May i create an encoder decoder in transformer, in which the encoder and decoder part both are GPT2.
Anyone has suggestion for that?

Thanks a lot and appreciate for any feedback.