Create Paper2D TileMap/Sprite at runtime.

I am trying to make a piece of software similar to RPG Maker. I want to know if its possible to create tile maps and sprite at runtime. I have been using Rama’s code for loading textures from files, and then splitting them into a tile set. So, can I pass information into a Paper2D TileMap or do I need to make my own implementation. I would appreciate any help. Thanks