sure
you just read how it works in here: https://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html
then in apache frontend
vhost config you add something like this:
<VirtualHost 1.2.3.4:443>
ServerName example.com
ServerAlias www.example.com
DocumentRoot /home/example/public_html/
<IfModule proxy_fcgi_module>
<FilesMatch \.(phtml|php[0-9]*phtml|php)$>
SetHandler "proxy:fcgi://127.0.0.1:9000"
</FilesMatch>
</IfModule>
then in apache backend
vhost config you add something like this:
<VirtualHost 4.3.2.1:443>
ServerName admin.example.com
DocumentRoot /home/example/public_html/
<IfModule proxy_fcgi_module>
<FilesMatch \.(phtml|php[0-9]*phtml|php)$>
SetHandler "proxy:fcgi://127.0.0.1:9001"
</FilesMatch>
</IfModule>