No, samurai weren't particularly fond of dying a gruesome death, just like everyone else. It was mostly a death sentence for samurai who committed serious crimes.
Either way, you might be interested on our FAQ on seppuku.
And maybe take a look at the 2011 book Seppuku: A History of Samurai Suicide by Andrew Rankin.