You totally can. Any text editor will allow you to write the code. For VS Code you’ll probably want to install the ruby plugin https://marketplace.visualstudio.com/items?itemName=rebornix.Ruby and the ctag plugin https://marketplace.visualstudio.com/items?itemName=jaydenlin.ctags-support
For ctags rename the vim-ctags file to .tags and you should get some basic auto complete. Hope this helps!