No, sorry. There’s no option to block someone on Peloton. But you can send official complaints against someone who harasses you. Just send the complaint to Peloton customer support and they will take care of it.