Absolutely!
See also…
In reply to Re: Hacking a source filter into the #! line by tobyink in thread Hacking a source filter into the #! line by dcmertens