Answer:
Yes. Many jurisdications and courts require judges to be lawyers, though this is not always true (for instance in certain magistrate courts). However, a judge who is a lawyer will not have a serparate legal practice due to the conflicts of interest which would arise from him being on the bench and also having a private practice.