Yes, but by saying 'No' you may invalidate your entire application.
It'd be better to complain to some regulatory body about the nonsense nature of this question... and to have it removed from the form.
You shouldn't be discriminated against because someone crashed into you, but here the insurance are clearly discriminating against you by denying you online quotes... despite no wrongdoing on your part.
There is one possibility that would allow for this, and that's if you're part of a gang that deliberately cause accidents... i.e someone driving close behind, then your partner cuts across you both, you jam on... get rear ended by an innocent party, and put in a claim.. If this had happened many times to one person then an inferrence could be made that something dodgy was going on.. of course it couldn't be proved easily and so it shouldn't matter but maybe the insurance companies want to use this type of info against you.