You can do that in a Yak 52. OK, not with such a violent pull-up (the drag at that very high A of A must sap most of the available energy). In a '52 just take off. hold it down to about 10 feet as the gear comes up and it accelerates rapidly and you need more and more forward stick to hold it level. When the trees at the far end are filling the screen, relax the forward stick pressure and you will go straight up several hundred feet.
Lovely aeroplane ;~))
SSD