Invoking server.execute / methods dependent on httpcontext?

In a legacy Web Forms application, we need to run a background process that calls server.execute in batch then transforms the resulting html generated and creates PDFs. The aspx pages called by server.execute are complex and utterly reliant on httpcontext. has made clear that execution context is different thus out-of-the-box such an approach is not possible. Is there however a mechanism possible to invoke or mock the Web Forms request context from within a method called by Hangfire to achieve this?