Internal UPS's have been done in the past, but they tend to be quite bulky and (relatively) expensive.

E.g. http://www.beam-tech.com/093001/prd_pgs/internal_ups.htm