For the same reason no single city, county, or state can offer taxpayer funded healthcare, they also cannot offer taxpayer funded mental healthcare and/or universal basic income (or whatever other welfare scheme), and still be part of a country that has freedom of movement.
The only reason the countries that do offer these things can continue to is because they have an immigration border with which they can limit the number of benefit recipients.