Matroska WEBM videos can be generally converted to any other video file format, including the M2TS, with a specialized multimedia converter that supports it.
Just keep in mind that the quality of the resulting file will depend on the quality of the original and won't improve and in some cases of some formats can be lower, but overall webm to m2ts conversion should be possible.