In software instead, that's incredibly common: several of my coworkers (late stage private company) are in mostly for the thrill of working on our technology since we operate in some interesting niche, and I know for a fact they are paid much less than me (30%+), even if they have a bigger impact than me on the company (and they are also older, with more experience!).
It's so common that many times employers use it at their advantage, by preferring people that can be sold purely on the tech rather than the tech AND the market rate for the position.
To me, both the financial aspects and the technical challenges must be absolutely satisfied in order to join a company. Maybe I'm too practical because I'm not a trust fund kid and grew up dirt poor, so I know that in my limited ~20y engineering career (assuming ageism) I need to make enough so that I will be able to retire comfortably, while making sure I work on stuff that stimulates me so I can give my very best.