The answer is yes. Of course, as is the case with most legal issues, the devil is in the details. But most US states impose strict liability on dog bites. Meaning you can hold the owner responsible for allowing the dog bite to occur. And you will likely be entitled to compensation for the injury suffered.
However, exactly how that liability works and how much compensation you might receive depends on your local jurisdiction. Here’s where talking to a local dog bite lawyer is a good idea. Dog bite cases are often handled by personal injury law firms, as this website shows, and it’s not uncommon for law firms in that field to offer free consultations.
Go sit down with an attorney to discuss the details of what happened. Many factors can play a role in how likely a dog bite claim is to succeed — the situation might get tricky if you were trespassing or you can’t prove which dog bit you, for example. Talking to an experienced attorney is the best way to learn what your options are.