Yes, you can install a front or rear basket bike rack on a mountain bike. Keep in mind if the bike has suspension, your options for a basket rack may be limited. That is because the support struts for the basket rack could interfere with the function of the shocks.