Yes, but why would you? If you're using ASP, use ASP, if you're using PHP, use PHP.
To get it to work your webserver will obviously need to support both ASP and PHP (probably only IIS), and then you'll need to tell it to distinguish <?php ?> and <% %>, and run the appropriate module depending on which one is used.