My friend likes someone who's taken. He made some sort of joke and then he said to her 'oh we can do that, because we're friends right ?'. She doesn't know if he was just saying it to establish boundaries and make things clear. Hopefully he was was it's wrong to go after a taken guy.