Can a homeowner apply for any plumbing or gas permits?

No. Any  work associated with plumbing or gas fitting must be preformed by individuals licensed by the Commonwealth of Massachusetts.