Question: are jedi allowed to have families?
Answer: The Jedi of the Prequel Era are not only forbidden to have romantic attachments; they are forbidden to have familial ones. Force-sensitive children are taken from their families at a young age and brought up in the Jedi Temple, without much or any connection with their biological relatives.