Probably. It depends on whether they remove the actual glandular tissue that is necessary for growth, but most gynecomastia surgeons will try to do that (since most cis men don't want a recurrence). If you simply get fat removed to make them look flatter, that might not affect later development, although there are never any guarantees.