Yes and no. The Particle products can communicate with non-cloud servers over TCP or UDP. The catch is that there is no SSH implementation, so you can’t use SFTP. While I love the Particle products, I would lean toward the Pi if you need SFTP.
If you can use https, there is a client implementation of TLS for Particle products.