Revert an Android phone to vanilla rom from Google Can we install a vanilla ROM to a non-Nexus Android device?

I have an Android phone (version 2.3.6) and I don't like the ROM installed by the manufacturer. I want to revert it to a vanilla ROM like Nexus devices have. Is it possible, and if so could you provide a guide?
A real vanilla ROM is not possible because you need drivers for the hardware in your mobile. This drivers depend on the manufacturer.

The nearest thing you can get is a custom ROM like CyanogenMod.