I live in Poland, where the name "
John" isn't a thing, but I'm half English, and I think it is (or at least used to be) a very common practice.
John "
Jack" (or
Ernest) Worthing from
Oscar Wilde's "The Importance of Being
Earnest" is a literary example.