A couple of days ago, I asked in this same community if it was possible to make Cersei win the war, knowing everything that's going to happen in the series.
The idea was to start from episode 1 of season 7 and advise or move Cersei at will, knowing that you can't change anything that happens to other characters unless Cersei is involved. For me, it was extremely easy, but I was surprised that of the almost 50 comments, everyone said it couldn't be done... and that the best thing was to seek an alliance with the Night King or keep her promise to Jon and Daenerys.
My proposal for Cersei is:
I would tell her to attack Highgarden as she did, only she should order Jaime to hurry up and send the bulk of the Tyrell/Lannister army with the gold, which wasn't attacked by Daenerys at the Battle of the Golden Road. This way, I won't lose the Tarlys and thousands of men against Drogon and the Dothraki. Let's remember that the army traveled from King's Landing to Highgarden, so it was a journey of months, or at the very least, weeks, so a difference of one or two days isn't impossible.
Everything else in season seven will remain the same... I just wouldn't allow Jaime to leave. I'll take all the time I have to bring the Golden Company, seek alliances in Essos and with other houses of the Reach... remember that the Tyrells weren't very popular in the region, and make arrows... lots of arrows.
With the Battle of Winterfell over, I'll send Euron to attack Daenerys as he did before, only now I'll emphasize killing the two dragons. I'll also send available forces to the shores of Dragonstone and the Crownlands to kill the survivors. The Greyjoy fleet is superior to Daenerys's, and he also has warships. Ordering him to attack the dragons with everything he has and then the ships isn't so far-fetched. And we saw in the series that, without all the information, Euron managed to kill a dragon and almost completely destroy Daenerys's fleet.
On the other hand, he sent the Golden Company to ambush Jon and the Northerners/Dothraki.
According to Cersei, the Golden Company has 20,000 men, a sufficient number to defeat the weary Northern and Dothraki army, plus I have the element of surprise again. There's no possible scenario in which 20,000 well-trained and supplied soldiers can lose against unarmored riders, exhausted Northerners, and Jon.
And that's it... I've already won.
Cersei has defeated two dragons and thousands of wildling invaders. Let the great houses that wish to kneel do so. The only region that could be a problem is the Vale of Arryn, but even there you have the Golden Company and very possibly the Reach. Not to mention that Slaver's Bay will be in your debt, and you can negotiate with them. If you let Jon live, the North is yours. If you let Daenerys live, you sell her to the slavers in the Bay.