yes you can, There are two type of NAS
Software based as FreeNAS, Windows Home Server etc.
hardware based as hitachi, dell and lots..
software NAS can be installed on freash x86 hardware and it can configure with webinterface or GUI/ telnet etc.
Same happens for hardware based NAS but these are more relaible & easy to configure with raid support.