Hi,
It's certainly a clear and graphic image, but it's not an idiom that I have heard anyone use.
It sound like a misworded version of this idiom, which is quite common.
Tom has to do something he doesn't want to, so he consoles himself by saying
"Well, it's better than being poked in the eye with a sharp stick".
It means 'There are worse things than this'.