if it is indeed NBA & WNBA no problem same teams usually don't have same owners or same governing bodies ie front of house personnel.
WBNL & NBL as well different owner often to different clubs Bendigo for example does not have a NBL team should be no conflict of interest.
A juniorlevel where you have coaches coaching their children or coaching on one court then umpiring on another court not ideal but it does happen, not enough coaches not enough referees.
in our own local ABA no you couldn't see a someone coach a women's team then step on court to referee the men's team that becomes IMO a conflict of interest
Just guess like anything there are many variable and just as many opinions and answers.