If you are happy with a “soft” disable this is doable in a theme component, which is usable in our hosting environment and way easier to maintain anyway. This means protection is client side, not server side. This matters not cause people can upload a blank image with one black pixel and plenty of other bad examples if you put the protection server side
Simplest way to do this would be to override behavior of the reply button to check if current user has a letter avatar and then pop open a modal asking to upload an avatar. Something like that