

Yes. The camera pixels generate a current in response to light. You can add some filters to block certain wavelengths of light (like UV) from getting to the camera sensor, and tune the pixels so that they respond more to to specific colors. But X-rays and gamma rays can just pass through the filter. Often they will pass through sensor as well, but, in the cases that they do get absorbed by the sensor, they can also produce a current that to the camera’s readout electronics looks like other light would.
The gamma detectors I mentioned are very very sensitive. They respond to single X-ray/Gamma ray particles. These detectors can count how many individual particles collide with a small crystal cube every second. These crystals are special in that they produce a very tiny flash of light when an X-ray or gamma particle collides with them. As an added bonus, these sensors can directly measure the energy of the particles by measuring the strength of the flash, and from this information they can construct not only the total counts but also a spectrum. With this extreme sensitivity these detectors can measure small quantities of radiation that come from space, from rocks, and from other materials.
I looked for a video of a phone going through an X-ray machine, and found these:
https://www.youtube.com/watch?v=E8iSoPhtY3s
https://www.youtube.com/watch?v=V1YaroH6lHA
The white specks that you can see near second 25 (first video) and second 34 (second video) could be a result of the X-rays. I am not sure, but it seems reasonable to me. On contrast, when I put my radiacode through the X-ray machine in the airport the radiacode reacts very strongly and becomes saturated.
Ooh, cool! 😁 That detector seems to be working only in “Geiger mode”, which means that it can count the number of X-rays/Gamma particles but it does not estimate their energy. So, the dedicated devices are still better in that they allow you to identify the source of the radiation by measuring the counts and the energy distribution simultaneously.
It probably would not be too difficult to build the open gamma detector into something like a pinephone. I don’t think that has been done yet.