Can I pass custom parameters when installing a custom app?

Like
bench --site site_name install-app custom_app --username username
And then being able to use it in an install hook