But providing it for free is less optimal than a basic income.
Either way it's a pretty direct tradeoff. Basic Housing and Basic Food would mean that a much smaller Basic Income would do a similar job.
Income Basic Allowance for Housing Basic Allowance for Sustenance