Yes, you can. But in this case it’s better to check PME addon which allows to assign the key to custom operations.