Well, kind of. However, there are additional variables.
For example, if a chassis is designed to be pulled by a 1.3-cc engine, then it will provide the best mileage with it. Whereas if you put a 1.0-cc engine in that same chassis just because of the taxes, then it will provide you bad mileage.