Yes, you got it.
I saw you mentioned
all most any energy is allowed to be carried by a photon.. right?
and I did some research to find out if there is a finite limit for how much energy a photon can carry. Turns out, technically, there is.
Quoting someone else's post on a different forum: There's a practical limit, of a sort, where a photon has a high enough energy that it and a microwave background photon have enough energy in their center-of-momentum frame to create electron-positron pairs.
I'm not sure if you wanted to know that, but it never hurts to expand one's knowledge on matters