It does today but not for long, Google is planning to add developer ID verification system for apps installed from any source, just like Apple's notarization, which will give them the technical ability to revoke their distribution on demand. It won't matter if the APK is distributed via F-Droid, Github, self-hosted servers, or in any other way.

By pure coincidence the walls are closing in from all sides.