Is it possible to determine proxy based comments?

It’s possible, but it’s unlikely that you succeed for comment spammers (and how do you separate them from legitimate proxy users?):

$proxy = $_SERVER['HTTP_X_FORWARDED_FOR'];