Adding a view to node edit form
I researched this for a while, then I found a sample implementation in modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementEmbedForm.php:

$form['view'] = [
  '#type' =&gt; 'view',
  '#name' =&gt; 'test_view_embed',
  '#display_id' =&gt; 'embed_1',
  '#arguments' =&gt; [25],
  '#embed' =&gt; TRUE,
];


In that file it is used in FormBase::buildForm, but it works nicely also in hook_form_FORM_ID_alter(); I reported another example in this comment to a similar post.