Yes you can do this with most scripting languages. This is why I consider Redis more a DSL, proof is, it is trivial to write a Redis-complete script using a real scripting language.
However the problem with this approach is that you get a lot less performances and memory efficiency.