It is fine as long as there are clear boundaries and their friendship does not infringe on your relationship in any way. This means he should not use their friendship as an emotional outlet, a way to make you jealous, or keep their conversations secret. If something feels off, speak up quickly and directly.