Tesla has been exploiting this sort of thing for years.
For example, since they don't produce polluting vehicles, they kind of blow away EPA requirements. They sell their 'ZEV' credits to other car manufacturers that are, perhaps, slacking on their own 'green' requirements. This is worth a couple grand per car.
That being said, they're a business. I wouldn't consider leaving this sort of money on the table to be in their own best interests.