Can a family member leave another family member a house with a 1st mortgage still on it in their will?

my mom has a home that she is still paying her first mortgage on, she says that if she passes away she wants to leave me the house in her will so that I would keep it in the family. Would the bank allow that to happen? Or would they have to qualify us first?
3 answers 3