If you have to ask, I think you already know that it is not fly fishing. So long as you were fishing legally, it doesn't matter what it's called.

Taking it a step further: Well, I was using my fly rod, fly reel, fly line, and leader, but instead of a fly I used an earthworm on a hook, trying to "imitate" a San Juan worm fly pattern. Is that fly fishing? You get the idea.

Nonetheless, what you tried seems pretty sporting, effective, and probably a lot of fun.

Sincerely,

Salmo g.