That's most probably the greatest idea I've heard.
I'm sorry about your loss, first of all. To prevet such accident again, you should first patch the holes of the ball. There are many ways to do that, just use your imagination.
Remember to leave 3 holes open, in a triangle shape, so you can hang it later.
You should then put paper (not the one we write on of course :P) in the ball until half of the ball is full.
After that use 5 strings in order to make a big one, and repeat that two more times. We want 3 strings to prevent the ball from turning, and therefore preventing your hamster from getting dizzy. Find a nice place to hang it, and make sure the exit it not in the midde, but a bit higher, so the bedding stays in.
I hope you like my idea. Tell me if your ham likes it. =D