That's not actually entirely true, there is a far neater solution without resorting to creating objects. Just use different layers in your tile maps, one for the foreground, one for the background. To have a look at loading multiple layers, take a look at the Tiled demo source code. From that, you can just add the background layer, then the player, then the foreground layer.