The simple answer to that question is yes. You can be compensated even though you may be partially at fault for the accident. The example I like to give my clients is, two cars traveling in opposite directions on a two lane road. If one car crosses the center line and causes the accident, that car crossing the center line is most certainly at fault. If however, both vehicles cross the center line in equal relation to each other, then both cars are equally at fault.
Under Pennsylvania law we have a concept called Contributory Negligence. If you are deemed by a jury to be 50% or more responsible for your automobile accident then you can not recover for your damages. If, on the other hand, you are found below 50% responsible for the accident your damages would be reduced in relation to your percentage of responsibility. So, for example, if you had a $100,000.00 claim and you were determined to be 25% at fault for the cause of the accident your recovery would be limited to $75,000.00.
A personal injury attorney can evaluate the facts of your case to determine the extent of your responsibility for the accident if any, and whether a recovery can be made. It is therefore important that you retain a personal injury counsel to investigate your case and make that determination.