I dont think so, it needs root account.
It won't work anyway.
The hosts file is only used locally, not remote. So if you visit your server from external source the hosts file won't be used.
nameserver 127.0.0.1
I understand your concern, but noI'm not aware on why you want to forge a domain... I hope you don't try to do anything illegal,