No. You have to compile openssl 1.1.x seperately for this to work.
If you want to install old PHP 7.x then you have to use Alma 8, or as said... compile custom.
Technically it's possible but I don't know how, maybe somebody else, and might cause issues now or in the future.
NOTE: Do not follow this on CentOS 7.4, Debian 9, FreeBSD 11. If your OpenSSL already supports ALPN extension, CustomBuild will enable it by default on your OS! It's most likely that your OpenSSL does not support ALPN extension, that's why it's difficult to get HTTP/2 running with Apache...