If you didn’t want to touch the loop you could output your optin form after the last post and move it into position with CSS (Flexbox ‘order’) or jQuery
If you didn’t want to touch the loop you could output your optin form after the last post and move it into position with CSS (Flexbox ‘order’) or jQuery