From NLPModels.jl 0.18 we have access to the linear constraints. So, we could make a LinearlyConstrainedFeasibilityResidual which creates a nonlinear least squares model with linear constraints from an equality constrained problem in which the residual function is the nonlinear-constraints function.
Probably the name is too long though...