This isn't a computing hardware or software problem, it's an aerodynamics and propulsion, structures problem.
A team of engineering graduate students with a bit of funding might succeed, but the cost and custom hardware would be pretty high. The problem also gets more difficult as the rocket gets smaller.
Also, failed rockets are flying bombs, not something to be done lightly.