It would be unreasonable for your friend to object but emotions always trump reason on the subject of dating. There aren't any rules. Who you go out with is your choice but whether your friend gets mad is hers/his.
You have to decide whether the ex is hot enough to lose a friend for.