How to apply gateway policies to devices using PAC files

Is there a way to apply gateway firewall http policies to traffic sent via PAC file? Each Proxy file has a unique subdomain which could be used to filter. But I do not see if it is possible.

Use case. Apply certain PAC files to shop floor systems so that HTTP traffic from those systems are treated differently than office systems.