Won't work unless there is a majority of pro-life justices sitting on the biggest bench of all. Think about it: who has the last word on whether or not a law is constitutional?
It also depends if the judges want to get into the middle of it. If elected congressmen and senators legislate an overturn of Roe v. Wade, do the judges want to get back into it or will they let it stand, thinking it's no longer their problem and sigh in relief?