PHOENIX — Margaret Nance was, to put it mildly, a difficult case. Agitated, combative, often reluctant to eat, she would hit staff members and fellow residents at nursing homes, several of which kicked her out. But when Beatitudes nursing home agreed to an urgent plea to accept her, all that changed.

Disregarding typical nursing-home rules, Beatitudes allowed Ms. Nance, 96 and afflicted with Alzheimer’s, to sleep, be bathed and dine whenever she wanted, even at 2 a.m. She could eat anything, too, no matter how unhealthy, including unlimited chocolate.

And she was given a baby doll, a move that seemed so jarring that a supervisor initially objected until she saw how calm Ms. Nance became when she rocked, caressed and fed her “baby,” often agreeing to eat herself after the doll “ate” several spoonfuls.

Dementia patients at Beatitudes are allowed practically anything that brings comfort, even an alcoholic “nip at night,” said Tena Alonzo, director of research. “Whatever your vice is, we’re your folks,” she said.