Yes, it is possible to place a tile-to-carpet transition over an uneven subfloor. It will be helpful to use leveling compounds or underlayment materials in order to provide a level surface for the transition.