How to render a @FormElement in Views area plugin
You can create block Form first. And from View UI, add a view object to your header or footer. And from View object configuration choose the form block you created.