Absolutely. Just make sure that person is familiar with your academic abilities and personalize your request. If they agree, make sure to give them a "brag sheet" to help them draft the letter.