Moreover, Fuji had sensors with extra pixels for high and dark ranges as well as color, and in a sense the traditional sensors (including x-trans) use a send green filter to help calculate tonality as well.
I have for a while proposed a theoretical sensor that instead of filtering the light it instead diffracts it along a specified area of the sensor. For photography you wouldn't need a relatively large area, to obtain highly detailed information about color. A ten pixel wide area would record the color information of ten filters, but not be limited to device space.
of course, spectroscopic images are made in forensic science and astronomy, but usually this combining multiple images taken in succession or arranged onto the sensor using special optics.