Yes, a clever allegory, but also stupid. Why didn't the scorpion just jump on his back and kill him on the shore?
It's clear that the author was actually making a point about assisted suicide.
The point is that the scorpion really intended to cross the river, but his nature beat out good intentions.