This can be done. Just need something on the edge of the stair to keep the tile from breaking or chipping. Check out this link for a stair nosing from Schluter.

Schluter-TREP-FL - Schluter-Systems