No. Authors, Henry David Thoreau in 1854 and here Melville in 1851, and others at the time in that region were very heavily influenced by Hindu scriptures especially the Bhagavad Gita. Hindu mythology was mentioned several times in Moby Dick including referring to the whale as the Fish Incarnation of Vishnu.