I'm contemplating switching to cricket, but I had some questions regarding the flashing process to get my phone working on the network. I have a Motorola Droid Razr and I wanted to install Cyanogenmod. I know stock I can flash it to work on Cricket, but I had two questions.

First, can I use Cyanogenmod on the cricket network?

Second, if I use the stock ROM and flash it to work on Cricket, can I undo all of the changes made by the flashing? Is there any change made to the hardware when I do the flashing or is it strictly made to the ROM, in which I can just revert to a backed up stock ROM?