same name as cousins child?

Sophia
My husband and I are both very picky with boys names. The only one we both like is Oliver (which is my absolute favorite!) My cousin, who I never see and I am not close with, already named his son Oliver 😩 The only time we ever see them would be at a family members wedding if we both happen to be attending. Would it be a huge no-no if we went ahead and used this name that we both really like?