Not by the Direct Method.
Val and I: Or, the Wandering Boy of the Jungle

Which is the title of an anonymously-written 1882 penny dreadful.

It is highly unlikely that Edgar Rice Burroughs read this before writing Tarzan, but…well, take a look at the similarities:

Yunacka is a teenage boy who has grown up in the jungle, climbs and travels ape-like amongst the trees, and he is the lost son of the Indian aristocracy (a rajah). Besides, Yunacka can mentally control wild beasts, particularly apes as well as a large panther, defeats bears and tigers in unarmed combat, besides defeating the plans of rebellious natives, and is generally bold and daring in defense of his friends.

More here, including the full text of the dreadful.