Yes, it was.
Now that you've delivered your obligatory falsehood, please tell me where you got your alleged "fact" that attack ads only work in the last few days of a campaign, assuming you aren't simply inventing all of your assertions.
The Willie Horton ad was not a personal attack.
**************
From Wiki:
Attack ads were used again by the campaign of George H.W. Bush against Democratic candidate Michael Dukakis in the 1988 presidential election. The two most famous were the “Willie Horton” ad and an ad which ridiculed Dukakis with visuals of him looking foolish while riding in a tank. The Willie Horton Ad was especially notable for how controversial it was. The ad begins with a simple statement of Vice President Bush’s support of the death penalty. Then it describes the case of Willie Horton who was a black man convicted of murder. The ad continues to explain that Dukakis’s prison furlough program (unsupervised weekend passes from prison) released Horton 10 times and on one of those furloughs, he kidnapped a young couple, stabbed the boy and “repeatedly” raped the girl. Then the ad ends with this line “Weekend prison passes. Dukakis on crime.”[2]
************