Using API route to fetch query cache

I was just looking at the email example and it gave me an idea… since we can’t use SSR prepass in app router could we just use an API route to fetch the query cache?