Return app.layout

HI my question is can i return app.layout=html.Div([html.H1(‘Hi there, I am app1 for dashboards/’)])
if yes so how