Yes. This is how you would configure an F5 APM to do it.
With the HTTP form-based client-initiated method of authentication, when Access Policy Manager®
detects
the request for a logon page (URI, header, or cookie that is configured for matching the request), APM™
generates JavaScript code, inserts it into the logon page, and returns the logon page to the client, where it
is automatically submitted by the inserted JavaScript. APM processes the submission and uses the cached
user identity to construct and send the HTTP form-based post request on behalf of the user.