Yes, you can setup the entire OS through dietpi terminal utilities over ssh.