Can I still bring a lawsuit against the driver if I was hurt while not properly riding my bicycle?

Yes. Even if you were at fault (negligent), if the driver was more at fault, then you can prevail. Any recovery would be reduced by the percentage of negligence that is put on you.