Dynamically appending a control to app layout

Is there a way to dynamically append a control to the dash layout? something like
def create_datatable(dataframe):

max_rows= 100
return html.Table(
    # Header
    [html.Tr([html.Th(col) for col in dataframe.columns])] +

    # Body
    [html.Tr([
        html.Td(dataframe.iloc[i][col]) for col in dataframe.columns
    ]) for i in range(min(len(dataframe), max_rows))]
)

and append the returned table to the layout?