Currently you can't do it with that kind of syntax, but it's possible to do it like this:
func action1():
print(1)
func action2():
get_node("node").set_process(true)
var array = ["action1", "action2"]
func do_actions():
# Print 1
call(array[0])
However in a future version it will be possible to use lambdas:
func _ready():
array = [
func():
print(1),
func():
get_node("node").set_process(true)
]
# Print 1
array[0]()
Note: array indexes start at 0 ;)