I think Alan could live out there as long as he wants to, but he's going stir crazy by himself.
Sam seems to be better suited to being alone, but he's trying and failing to trap mice, which seems like desperation. Things are going pretty bad when you're sad about not catching mice to eat.