That shebang will work on GNU link based systems, but might not work elsewhere. I know that’s the most popular target, but not working on macOS, BSDs, or even busybox.
The shell doesn't support anything, it just passes the string to env.
So beware quoting and other delimiters that won't work the way you expect.