Investigation time!
Just like what @totebo found, manually flipping the tiles by editing the tilemap file makes the tiles appear flipped in the Defold editor, but not in-game. Flipping tiles via tilemap.set_tile()
works perfectly fine, but of course it only shows up in-game. If someone really wanted to, they could probably make an editor script to scan tilemap files and output a table containing coordinates of tiles to be flipped by a script.
Screenshots
Left: unflipped tiles | Right: Horizontally flipped tiles
-----------------------------------
Manually flipped tiles in editor:
Manually flipped tiles in game:
Tiles flipped via script in game: