Can we have different PHP versions for different websites?

Is there a way we can setup different PHP versions for different websites, e.g 5.3 for legacy app and 7.3 for wordpress on the same account?

Should be able to edit the vhost if its a different domain to set the handler

vhost config
AddHandler application/x-httpd-php72 .php

Thanks a lot, I figured it out!