The short answer is that it is possible that your internet search history can be used against you in court, so long as it is relevant to your case, was properly obtained by the other side, and otherwise conforms with the applicable state or federal rules of evidence.