Is it possible? Or do I have to mine bitcoin and get namecoin with it ?
It is possible but not profitable because namecoin has the highest hashrate/market volume.
Only merged mining with bitcoin is profitable and doesn't require additional work. If you mine only namecoins you will not mine more than by a merged mining.