OK, EM waves can get _transformed_ into mass.
In the sense that they can be absorbed by matter and (possibly) increase the invariant mass of the matter, yes.
In the sense that they can be absorbed by matter and (possibly) increase the invariant mass of the matter, yes.