Yes! Makes sense, and that’s a better way to do it. These days, especially with the feature called “Background Downloading,” there are fewer reasons to use Online mode.
In fact, if you want to make small changes like that, even at the same time as another user in another location (like I’ve done before on a live system), Node-RED is better equipped to handle such programming activities. And you can do a “diff” on your project (since it’s all just JSON) to see what’s changed between versions!