Can i open an android app using just the package name in a website?

I want to know if its possible to make a button that can launch any app (assuming the user has it installed) with the package name, i dont think its possible but someone out there might know how.

document.location.href = 'intent:#Intent;scheme=app_scheme;package=app_package;end;';

just goes to the google play app showing the app_package app

ive tried one or two other things but there hasnt been anything else that works