Technically yes. You can import/export the RM code. The files are text which you could edit in notepad. Not very practical though.
Just create the 1st rule shown above in RM which is one required expression, one trigger, and one action. Export it and open the file in notepad, you will see what I mean
Another option is to create your own apps in groovy, Their are many tutorials on that but if you find the RM editor daunting then that is probably not something you will want to mess with.
Lastly there is webcore. Some people find its interface more code like, so perhaps that would be something to check into.
I personally prefer the RM editor. I had quite a few webcore pistons when I came over from ST, but ended up converting most to RM.
Also look at the basic automations apps found in add built in apps they step you through automation setups and can probably handle most things you will need.