first one's yes, see https://github.com/hpcugent/easybuild/wiki/OS_flavor_name_version

The compiler not at all, the configure script is weird, I just tried this with icc, but icc is for IA32, ecc for IA64, and you actually need icc8 which is not documented in the build script but I found somewhere deeper in the code...

So if you want to do this automatically we should have a translation dictionary in the namd easyblock that knows about all of this (undocumented) behaviour...