Yes you can: sudo pmset disablesleep 1