There certainly is. Take a look at a few extreme examples, perhaps a Lamborghini and then a Smart fortwo.
A major factor about the carbon footprint of any car is its size: the bigger it is, the more materials are required for manufacturing and the more energy consumed in moving that weight around.