The new Tailwind compiler is indeed quite fast, so you can use it for real-time SSR or something like that.
This example uses an existing @tailwindcss/node@next package,
but it seems setting up the compiler for a different runtime wouldn't be too difficult.
Check out the source code of @tailwindcss/node
# Install Tailwind v4 (experimental release)