Still not 100% sure what you're asking...
Do you mean a blanket "keep awake" mechanism (i.e., some type of Setting you could enable / disable) or are you looking for a single app solution?
Not sure that there's anything other than an app-specific means of keeping the device awake, but that, of course, has to be done by the app developer and not the user...