It's still a theory. We definitely don't know the underlying mechanism(s) of action, and it's likely there's more hidden complexity there.
But rapid weight gain after weight loss (until you arrive somewhere near your old weight) is at least a well observed experimental effect. About 80% of people who lose weight, through any means, will revert back to their old weight.
Source: