Probably not.  If two marks are very similar and the only difference is that one is for a Brewery or Brewing Co. and the other is for a particular beer, you likely aren’t going be to be able to register your brewery name.  If for example you wanted to trademark Rainbow Unicorn Laser Eyes Brewery, but someone already had a registered trademark for Rainbow Unicorn Laser Eyes IPA, your application would almost certainly be rejected.