Technically yes, but Attention Matrix in GPT has O(n^2) memory usage. And is better to just print less text but store the global context (what Chatgpt does), should not make a major difference between outputs.