Yes, you can. If the line items are from the same payer,
for the same taxpayer, and all the other boxes on the form match for both line
items, there is no harm in adding them together and reporting a single Form
1099-SA.
If there is any difference at all with the other items
reported on the Form 1099-SA, enter it as two separate forms.