If you mean that when majority of work is free, people simply by existing will produce enough value for other people to deserve UBI large enough to live(1), then yes, but it is not a system that is called socialism today.
(1) the value for other people will be produced simply by increasing the likelihood of new science and art being created, so like investors are happy to waste lots of money to get one really successful startup, people as a whole would be happy to waste lots of money on UBI to many people, to get some really talented scientists.