Runs fine, yes. Securely no! At least not if you don't use Cloudlinux, because PHP 7.4 was already EOL 4 years ago (november 2022) and not patched anymore. So any vulnerability discovered will make your system insecure unless you're using Cloudlinux or can patch PHP yourself.
But that is a...