As long as the language that you are using has fairly accessible input/output abilities, I would say go for it. I do believe the data files for levels are in a serialized java format, but there would still be spot for a collection of the tiles to be stored in there. From what I recall there should be a header prefixing the file that you not be tampered with and probably some generic level info variables that you may or may not want to touch at all. If you override an existing map with a new block data, you should be fine in any language. Granted, the new level format NBT is out now so you may want to consider making future generators for that.