Yes you can add records in a subform. Moreover, subforms are implemented in a form in such a way that the records in the subform relate to the record in the mainform. So when adding records to the subform, Access will automatically include the foreign key corresponding to the mainform (so the user does not have to do it).
Chris