Proxy URL to ALB on AWS

We need to do the following:

. When users access www-xxx.test.com/subsite1, the traffic needs to proxy to www-yyy.test.com/subsite1 on AWS so that www-xxx.test.com/subsite1 retains its name on the browser.

Currently, is pointing to an ALB record on AWS. There are listeners on ALB to break the traffic into subsites such as www-yyy.test.com/subsite1, www-yyy.test.com/test2.

Can we accomplish this task on F5?