Are Jewish girls allowed to hug a boy that is not a family member or their husband?

I am writing a book and I’m making the main character Jewish. I personally am not Jewish I need lots of help. Please answer the question above and if there are any other things that you feel most authors get wrong in books about Jews please let me know that too
Update: Hi thanks for the answers I felt dumb right after asking this question please stop answering I’m sorry if I offended anyone or if I hurt or insulted you in any way I’ve decided against this whole thing sorry
10 answers 10