Contemplating will not take you all the way as there will be a perception or notional residue.
You can start with it and make efforts to see the phenomena relating to the aggregates arising and passing.
This will get you to the final goal as long as you do this with equanimity and non clinging and craving.
For further details see Girinananda SuttaGirinananda Sutta. Here the flow of instructions starts with various contemporary practice to reduce polarity of perception but finally switch to Anapana for the lasting or final solution which is to eradicate any residual perception and the aggregates.