I've only installed roms that support my specific m7 model myself just to be safe. Thing is, to flash a Rom that's for a different model, you would most likely have to get s-off on your phone and change your phone's model id and perhaps cid before the phone will accept the Rom. Take for example, when I installed Google play edition, had to unlock bootloader, root, custom recovery, gain s-off, install a different hboot, change model id and cid before being able to flash the Rom, because if my model I'd didn't appear as GOOG then the flash would fail. What Rom were you after that doesn't support your current phone model?
Sent from my D6503 using XDA Free mobile app