I've done it on mine, easier with a tankbag to cuddle... Not very comfy though, usually I'd just have a kip on the ground. Bike gear means any surface is comfy, back protectors are great for this
When I was waiting to do my bike test, steve the instructor was in with the other trainee... He came out to make sure I wasn't stressed out, and found me having a kip beside the bikes