I presume most people have heard by now about blind people learning to see by repurposing parts of the cortex to perceive using an electrode array on the tongue or the skin . Experiments have also shown that rodent brains can learn to perceive invisible light using electronic infrared sensors .
The cortical algorithm was built for this stuff, making meaning from nonsense. Pulling meaningful information from the brain is likely to be more difficult.
 Bach-y-Rita, Paul, et al. "Form perception with a 49-point electrotactile stimulus array on the tongue: a technical note." Journal of rehabilitation research and development 35.4 (1998): 427.
 Thomson, Eric E., Rafael Carra, and Miguel AL Nicolelis. "Perceiving invisible light through a somatosensory cortical prosthesis." Nature communications 4 (2013): 1482.