it still costs money to produce the cart
Yes of course.
If I bought the ROM for 10$ and then the cartridge for x - 10$, I would have paid full price for the cartridge.
this is actually a good idea