It’s possible to modify the image sensors of phones/tablets to make infrared or ultraviolet photography possible?
Why not just buy a sensor without the IR filter? They aren’t expensive. Or use an HD security camera that doesn’t have one? If you remove the filter from a phone’s camera, normal picture quality will suffer.
It’s probably possible, but I suspect since the whole debacle of Sony selling camcorders with an IR night vision that also “let people see through clothes” when used during the day the manufacturers won’t make it easy to modify.
I opened an old point and shoot camera and removed the IR filter in the early 2000s but it seems to have caused autofocus problems. Purple images are unedited, converted to b&w with slight contrast adjustment.