Is it possible to use Cursor with a cloud-based development web server?

I’m looking to use cursor to build a ruby on rails app without running rails locally. Ideally, anytime I save a file, it would automatically be uploaded to Replit or similar service. Is that possible?