Can an employer, inside a Section 125 plan, do an HSA matching contribution for all employees similar to a 401(k) match, with a minimum/maximum amount so not to allow a discriminatory effect in favor of highly compensated who can afford to contribute higher amounts?

This is allowed as long as the employer makes the match available for all employees covered within the Section 125 plan and all employees have the same opportunity to earn the match.