When it comes to cleaning the inside of an engine, I remember hearing of an experiment that was ran a while back...
The guys went to a junk yard and got the crappiest, most beat-up looking car they could find. Pulling the valve covers revealed a head full of goo. They proceeded to drain the "oil" out of the pan (which was more like white-brown slime) and changed oil filters. Instead of adding engine oil, they filled the thing to "full" with Liquid Wrench and WD-40. After letting it set for a while they proceeded to crank the engine. At first it wouldln't start and they had to tow the thing (had a manual tranny) around the junk yard for an hour or so. Just before they gave up on the thing it started to sputter and smoke, pop and weeze. When it finally started it smoked like it was running on pure tranny fluid. They ran the crap out of it for a couple of hours around the junk yard, by no means sparing the throttle. When they were done they parked it and re-drained the pan and changed filters. You can only imagine the kind of crap that came out of it this time! They did this once a day for about 3 days, and each time the engine smoked less than before. After three solid days of molesting this engine, it completely stopped smoking! They pulled the valve covers once again and all of the sludge and slime was gone. Added "normal" engine oil and continued maintenance. A tuen-up was obviously required, complete with rocker arm adjustments, new spark plugs, carb cleaning, and everything else that a "normal" person would do to a car that's been setting for a while. The car ran so good that they continued driving the thing to haul stuff around the yard.
While I wouldn't even think about doing this to my motorcycle, I would consider trying it on an old beater bike that's not worth much, especially if the engine is stuck. I'm guessing it stopped smoking because the Liquid Wrench freed up the sticky rings and valve seals. I know that the common method to un-stick an engine is to fill the cyllinders up with WD-40 or Liquid Wrench, but I never thought of filling the entire engine with the stuff! And then running the thing that way!?!