Is it wrong?

I really like my very good friends ex... I know I’m “breaking the girl code” but they broke up a year ago and she’s already in another relationship. He probably doesn’t even like me back but if he did, would it be wrong to date him?