Default Rooting without a wipe

Hey I was wondering if there was any way to root my phone without a wipe.

OR,

if there was anyway to back up an image of my phone, root, then restore that image.

Sorry if this has been covered before, but I've done a search and I can't seem to find anything on it.

Does the NANDroid backup cover this?