You probably can, it's busy programming work mainly. You'll need to look at the format of the tmx file and take the xml file contents and convert it over piece by piece.
As I recall the tiles are stored in a compact fashion, but eh. It's just a matter of writing out text according to the tmx file format spec and saving it to a file.