Not sure but - as film e.g. captures actual photons from the scene, probably some kind of information is encoded through that.
Bokeh is a kind of of space representation, similar to how you can basically "see" through hearing a sound stage of instruments separated properly when someone has a really good sound system, or how dogs have "5.1/7.1" sense of smell.
How does one encode that I have no idea.