Nope, if the rotation doesn't improve, adding Hamels (and paying through the nose for the privilege) isn't going to help.
Either the rotation get's it's collective s*** together, or a couple of minor league pitchers step up.
Otherwise, it's sign someone from the free agent pool next off season.
I'm not convinced the season is over yet, however.