We know that godparents do exist within the Star Wars main canon;
“Saw means something to a lot of people,” Maia said when Jyn didn’t
answer her. “I heard about him as a hero of Onderon, from my
godfather, Lux. Staven’s family was saved when Saw organized a supply
run past Imperial blockades to feed them. Saw fought in the Clone
Wars; he’s fought in battles since then. He’s half legend.”
Star Wars: Rebel Rising
But beyond that we don't really have enough information to judge. Jedi are certainly allowed to have friendships (Obi-Wan and Dexter Jettster, for example) and even non-romantic relationships but whether having a god-child would fall under the header of a
"possessive attachment"
isn't explained anywhere in films or books.
Within the EU canon, there's an example of a Dark Jedi (e.g. a Sith apprentice) who's a hold-parent (a term that is described as being analogous to a godparent) in Star Wars: The Dark Crystal. Lord Hethrir of Ferrerre kidnaps Leia's children and tells them that he's their hold-father.
I knew it!” Jaina said. “I knew Hethrir told a lie. He told lots of
lies.”
“He’s a mean man,” Jacen said. “I don’t want him to be my
hold-father!”
“He is not your hold-father, children,” Rillao said. “Is that
everyone? No one left in the tree?”
Star Wars: The Crystal Star