Specify layout attribute as a list

Hello,

Is it possible to specify the layout as a list? For example:

layoutList ← list(xaxis = list(title = list(text = “Time”)))

p ← plot_ly(x = 1:10, y = 1:10, type = “scatter”, mode = “markers”) %>%
layout(layoutList)

This does not work currently, but it would be convenient and would mimic other capabilities such as marker = markerList.