Answered
How to insert text vertically from down to upwards in a textFrame using indesign javascript
This is how i am getting text when i place text inside this selected textframe.

Is there anyway to place the text vertically from down to upwards the textframe as in below image

