If non-entity custom form require a form element that allows adding entity reference and individual entity need to be added using it's own input field same as "entity_reference_autocomplete" widget
TextLink transforms any text field into clickable links by combining field values with customizable base URLs. Perfect for creating profile links, search URLs, or any pattern.