Hi and welcome!
You can - in theory. We have an ansible role to build from the source (or the RPM) to install on, say, a Debian system. I myself sometimes develop against a Debian container, so I know it can be done.
But in a production instance? My guess is you’re likely to run into an unanticipated issue or two. Not that it’s insurmountable, it’s just not battle tested so to speak.
So in short, you could, but it would take some work. And though we’ve done some work up front it still may be fragile. This of course also depends on your base OS (or hosted repos) having the appropriate versions of things (as an example I know for sure the httpd that ships with Centos 7 isn’t high enough).
Hope that helps! Let us know if you decide to try installing from the source.