Is it ok to ask a professor if he/she is taking a leave of absence
You should ask whether they would be willing to take on PhD students, and, if yes, meet regularly. You suspect correctly that starting a new company does not make it likely for him to have much time the next years, so even if he says (means) yes, it may not mean that he can act on his promise, so handle with care.