You could do that by creating a specific PCB component for that in your library. Just write the text in top silk layer, and then make a copy and place it juxtaposing itself, but changing the layer of the newer text to soldermask. This way, you have two identical texts overlapped, one over other.