I've asked my students whether they still want to learn maths even if there will be a machine that will answer any question instantly and they will be homeless. They said yes.
(To my credit, I have warned them since more than a year ago that we will reach this point.)
your students are crazy (neutral term); no one should learn maths if the condition is that they will be homeless and exposed to the elements. the will to subvert the hierarchy of needs is commendable
Contact them again in 15 years and ask if they changed their mind. Could be interesting to see the results
Sure, your students may very well spend the little free time they have learning maths.
But are any of them going to be able to do any significant amount of studying maths without being homeless?