Yes. True friendship rests on virtue and self-restraint; if both sides honor propriety, opposite-sex friends can be purely platonic.