Based on the info they had in season 7, they could have. The only reason the NK was able to march south was bc he destroyed the Wall with the dragon, which they didnt learn until this season, once they made it to WF. Dany theoretically could have waged war on Cersei in the season 7 finale, most likely win and then made her way up north. She had no reason to believe the dead had the means to strike right away
True. She putting her plan on hold to help Jon has been disastrous for her