Someone once told me it is possible to have a net weight gain of more than what you eat. For example if you eat a quarter pounder burger you can potentially gain more than 1/4 pounds. Is this true?
This is because of something called ecological efficiency (or trophic level transfer efficiency). This is the efficiency with which energy or biomass is transferred from one trophic level to the one above it. This is virtually always less than 100%.
This is because biological organisms are not perfect converters (so the thermal efficiency is not 100%) and some energy is lost as heat, as well as the fact that not all energy can be used by the organism (it isn't in a form that can be digested completely or not fully bioavailable).
As a very rough average, only about 10% of the energy is kept as you go up to the next trophic level but this varies a bit depending on circumstances. This is e. g. why you need substantially more than 1 kg of grain to get 1 kg of beef.
So not only is it pretty much out of the question that you can gain more mass than you eat, it is also virtually impossible to gain as much as you eat, because some of that energy is lost as e. g. heat or used in basal metabolism.
Sure, you can invent fanciful situations with a high-tech, futuristic substance that has an enormous energy density and bioavailability while having a tiny mass, but for all practical intents and purposes, the answer is a resounding no.