Can a FEEL function be recursive?

Would be really helpful when walking a context.

{
  "walkContext": function(ctx)
    for e in get entries(ctx) return 
      context put({}, 
        e.key, 
        if e.value instance of context 
        then walkContext(e.value)
        else e.value
      ),
  "result": context merge(walkContext(input))
}