Yes as long as you are under the threshold for the holding period rule then it would probably a good idea.
If you are not under this threshold you will not receive the franking credits and then it will obviously not be worth it.
Do your own calculations though.
https://www.ato.gov.au/forms/you-and-your-shares-2017/?page=10