I do believe Cersei is doing everything "for" her child. She showed this with her other children: she is the classic Freudian mother extending her narcissism through her children to escape death through them, and thus literally demands the universe for them as her own infinite domain.
The Iron Rule of Hollywood decrees that the competent, superlative people die protecting the attractive, unobjectionable people. That argues for Gendry and Sansa uniting the Baratheon and Stark houses over the dead bodies of basically everybody else. Samwell gets to live to write their story (they could have just called him "Samwise" -- it's obvious enough). Cersei needs to die spectacularly. Dany needs to die cathartically. Jon needs to die tragically if you like him and gah, finally! if you don't. Arya, Jaime, Jorah, and Brienna need to die melodramatic comic book heroes deaths so the camo-fondlers can masturbate, Dickless Theon probably survives because he owes Sansa and that assures peace. Likewise Tormund lives to take the Free Folk back home and lead them. Varys will probably live because the Deep State can live through anything. Maybe Bronn lives because we could use some ironic wit in this Bland New World. Bran Stark ascends into heaven or turns into a tree or some such sh-t. I'd save Tyrion to look around, say "meh, this is too peaceful for me," and ride off into the sunset on the last direwolf.