You are allowed to do this, but the real value comes not from the name itself but when people copy and paste that URL and then use it as a link. In this scenario your link text is equal to the keywords.
i.e.
www.keyword1-keyword2.com
On a resource or links page your link may appear as:
keyword1 keyoword2 - This site is about...
Hence there is an indirect benefit.