Can an US citizen marry an illegal person and adopt her illegal child in Massachusetts?

Yes