Before you ask a science fiction "is this possible" or "how could this work" question here, please consider the words of a very wise man:
Any sufficiently advanced technology is indistinguishable from magic.
To put it simply, once you get far enough into the future, your society's tech can do whatever you, the author, need it to do for the purpose of your plot.
If that sounds too hand-wavy, understand that good scifi is absolutely not about the nitty-gritty details of how things work or whether they're plausible, because that's boring and therefore mostly irrelevant to the plot. Does contemporary fiction excruciatingly describe how toasters work, for example? Nope.
Good scifi, and in fact any good story, is about the people involved, how they interact with their time period (scifi, magic, whatever), and how that period shapes them. But the period without the people is pretty irrelevant in and of itself.