Well, mkvextract does not support remuxing the tracks to matroska container, but with the help of mkvmerge, I believe something like that could be possible.
It sounds like a nice feature, so I'll do my research and I'll come back to you for my findings. Thanks for the feedback!