Yes, you can certainly sue a driver for hitting you due to texting while driving, especially if you suffered injuries and other damages. Not only will filing a personal injury claim against the negligent driver allow you to receive compensation, but it could help deter texting while driving in general.