You are certainly allowed to divide by zero.
And if what you are dividing is not zero too, then the result is infinity. Think about what that means, when the equation sets acceleration at infinity. It means that if you polk a tennis ball with your finger, a) you don't feel any pressure on your finger from the contact, and b) the tennis ball shoots off at the speed of light (or at infinite velocity according to Newton).
